Cryptography in C and C++ by Michael Welschenbach
* The chapter on primality tests is thoroughly revised. This is the first book to include practical implementations of the recent major improvements in primality testing
* The chapter about random number generation completely rewritten
* Completely revised to incorporate latest cryptographic techniques