Cryptography in C and C++ – Michael Welschenbach – 2nd Edition


This offers a comprehensive yet relentlessly practical overview of the fundamentals of modern . It contains a wide-ranging library of code in C and C++, the RSA algorithm, completed by an extensive Test Suite that proves that the code works correctly. Readers will learn, step by step, how to a platform-independent library for the all-important multiprecision arithmetic used in modern . This is followed by an implementation of the cryptographic algorithms themselves.

This book covers everything you need to know to write professional-level cryptographic code. This expanded, improved second edition includes about 100 pages of new material as well as numerous improvements to the original text.

The chapter about random number generation has been completely rewritten, and the latest cryptographic techniques are covered in detail. Furthermore, this book covers the recent improvements in primality testing.

Table of Content

Number Formats: The Representation of Large Numbers in C
Modular Arithmetic: Calculating with Residue Classes
Basic Number-Theoretic Functions
Let C++ Simplify Your Life
The LINT Public Interface: Members and Friends

No Comments

  • Feedback: Leave your comments here!

    Your opinions and comments would be greatly appreciated.
    If you have comments or questions we've added this section so that we might have a dialogue with you.

Complete all fields

13 − 5 =