aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decrypt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modify the S2K interface. Instead of being stateful in terms of the saltlloyd2010-02-011-5/+15
| | | | | | | | | | | and iteration count, force it to be passed to each call to derive_key. So remove current_salt, set_iterations, new_random_salt, and change_salt functions from S2K interface. Update examples and test application to match. While I was in there, change the passhash example to use 64 bit salts and 128 bit PBKDF2 outputs.
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-7/+10
| | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* Add LibraryInitializers to the examples, instead of relying on lazy init.lloyd2009-03-171-0/+2
| | | | Patch from David X Callaway.
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-281-2/+2
| | | | | | | | | Add a new option --disable-modules which allows for disabling any set of modules that normally would be autoloaded. Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH, which will be much more sensible especially when everything is done in this fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
* If the Zlib module is not compiled in, don't #error and abort the wholelloyd2008-09-241-2/+2
| | | | compile, just skip adding a Zlib filter into the Pipe.
* Add missing headers in the example problems, noticed while compiling underlloyd2008-06-111-0/+1
| | | | GCC 4.3. Missing <memory> for auto_ptr and <cstdlib> for atoi
* If the LibraryInitializer is created with just default arguments, don'tlloyd2007-10-071-3/+0
| | | | | | | bother creating it, just let it be initialized lazily when needed. Reindents in encypt.cpp and hash_fd.cpp (indenting the brace after a try statement).
* Initial checkin1.5.6lloyd2006-05-181-0/+158