aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rsa_kgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-5/+6
| | | | | | | | 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.
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-4/+3
| | | | | | | | | | | | | | 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/
* Fix the DSA examples. Reindent.lloyd2008-06-281-1/+3
|
* Update some of the examples for the recent API changeslloyd2008-06-271-3/+4
|
* Add missing headers in the example problems, noticed while compiling underlloyd2008-06-111-0/+2
| | | | GCC 4.3. Missing <memory> for auto_ptr and <cstdlib> for atoi
* Avoid using the global RNG in check_key, instead pass a reference.lloyd2008-05-241-2/+3
| | | | Update the examples
* If the LibraryInitializer is created with just default arguments, don'tlloyd2007-10-071-1/+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).
* Make a passphrase optional for the DSA and RSA key generation exampleslloyd2006-09-041-7/+11
|
* Initial checkin1.5.6lloyd2006-05-181-0/+55