aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rsa_enc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More pubkey doc updateslloyd2011-04-081-0/+151
|
* Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-151/+0
| | | | | | | | | | | | | | | | | | | a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
* Fix compilation of examples; benchmarking and RNG changes mostlylloyd2010-10-121-1/+2
|
* Read and save the files in binary mode to avoid weird EOF problemslloyd2010-07-071-1/+1
| | | | on Windows.
* Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME tolloyd2010-03-081-1/+1
| | | | | PK_Encryptor_EME and PK_Decryptor_EME; the message recovery is somewhat implicit in the recovery of the plaintext.
* Modify pubkey classes to take names instead of object pointers.lloyd2010-03-081-5/+4
| | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-6/+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-2/+4
|
* Update more of the exampleslloyd2008-06-271-2/+4
|
* 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/+149