aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/cryptobox.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/cryptobox.rst')
-rw-r--r--doc/manual/cryptobox.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual/cryptobox.rst b/doc/manual/cryptobox.rst
index ea77eee5a..a3a0d02b0 100644
--- a/doc/manual/cryptobox.rst
+++ b/doc/manual/cryptobox.rst
@@ -11,6 +11,10 @@ This is a set of simple routines that encrypt some data using a
passphrase. There are defined in the header `cryptobox.h`, inside
namespace `Botan::CryptoBox`.
+It generates cipher and MAC keys using 8192 iterations of PBKDF2 with
+HMAC(SHA-512), then encrypts using Serpent in CTR mode and authenticates using a
+HMAC(SHA-512) mac of the ciphertext, truncated to 160 bits.
+
.. cpp:function:: std::string encrypt(const byte input[], size_t input_len, \
const std::string& passphrase, \
RandomNumberGenerator& rng)