aboutsummaryrefslogtreecommitdiffstats
path: root/doc/pbkdf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pbkdf.txt')
-rw-r--r--doc/pbkdf.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pbkdf.txt b/doc/pbkdf.txt
index f24dcd188..14434f63e 100644
--- a/doc/pbkdf.txt
+++ b/doc/pbkdf.txt
@@ -46,7 +46,7 @@ iterations and a 16 byte salt is recommend for new applications.
PBKDF* pbkdf = get_pbkdf("PBKDF2(SHA-256)");
AutoSeeded_RNG rng;
- SecureVector<byte> salt = rng.random_vec(16);
+ secure_vector<byte> salt = rng.random_vec(16);
OctetString aes256_key = pbkdf->derive_key(32, "password",
&salt[0], salt.size(),
10000);