aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encrypt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-3/+2
| | | | | | | | | | | | | | Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/
* 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-3/+4
| | | | compile, just skip adding a Zlib filter into the Pipe.
* Fix the DSA examples. Reindent.lloyd2008-06-281-1/+2
|
* Update more of the exampleslloyd2008-06-271-1/+3
|
* 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-39/+37
| | | | | | | 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/+175