diff options
author | lloyd <[email protected]> | 2009-07-03 04:46:47 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-03 04:46:47 +0000 |
commit | e0555387e440c708294a3593c90d3066ae4a0a55 (patch) | |
tree | 1f81e36cd8a919d512acf9ffc61e785d48669177 /doc/tutorial.tex | |
parent | ce5cab439b617800f48c94ebaeeb7cd3bd786cfe (diff) | |
parent | d9fea92eecbad7863518bd07f2b80ead41494894 (diff) |
propagate from branch 'net.randombit.botan' (head d6d32791adfa878b6fc0dd3a5b65a665b7bbb549)
to branch 'net.randombit.botan.c++0x' (head 54deb0e078aab8cd91c8fd8819d1e6668fc762da)
Diffstat (limited to 'doc/tutorial.tex')
-rw-r--r-- | doc/tutorial.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.tex b/doc/tutorial.tex index ce33e5f9b..21fb9eed9 100644 --- a/doc/tutorial.tex +++ b/doc/tutorial.tex @@ -189,7 +189,7 @@ the first four lines of code from the first example with: SecureVector<byte> the_salt = s2k->current_salt(); // 28 octets == 20 for key + 8 for IV - SecureVector<byte> key_and_IV = s2k->derive_key(28, passphrase); + SecureVector<byte> key_and_IV = s2k->derive_key(28, passphrase).bits_of(); SymmetricKey key(key_and_IV, 20); InitializationVector iv(key_and_IV + 20, 8); |