Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Cryptography in C and C++ Paperback – May 26, 2005
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently Bought Together
Customers Who Bought This Item Also Bought
From the reviews of the second edition:
"Addressing mathematical concepts, algorithms and C/C++ code is not a simple task; the author handles them well throughout the book. This book is translated from German by David Kramer. … A well written book that addresses the intended purpose. … A beginner or intermediate level C/C++ programmer can follow the text." (S. Terai, SIGACT News, Vol. 39 (1), 2008)
About the Author
More About the Author
Top Customer Reviews
In chapter 1, the author discusses briefly how the natural numbers are constructed via the Peano axioms. This discussion could have been omitted easily, for not enough detail is given, and one only needs to assume the natural numbers for the purpose of a book such as this. A full treatment of the construction of the natural numbers can be found elsewhere. The software used in the book is summarized in this chapter.
In chapter 2, the author begins to discuss the most important initial task for any implementation of cryptography, namely the problem of representing large numbers in computer memory. For performance reasons, the author chooses not to use dynamic memory management for large numbers, but instead uses a definition of static length. Large integers are represented by means of "unsigned short int". The software in the book makes use of assembler functions for high performance arithmetic. Chapter 3 then discusses briefly the semantics of the function interface, with the usual discussion about output versus return values.Read more ›
The great majority of this book is a detailed, step-by-step account of the how the author constructed a C-language big-number library. It treats wrapping the C-libraries with C++ classes as a separate chapter -- nice touch. This treatise is thorough, well-written, and engaging. Nicely done. It is written from a mathematicians perspective, and its mathematical underpinnings may repel some programmers, but they need not fear. In the end the C-code is well-explained.
The only "cryptography" of note is a chapter on implementing RSA with the library. Indeed, the great majority of implementing RSA and similar ciphers is creating the big-number libraries. The RSA chapter is, fortunately, much more than a simple example. It is an excellent treatise of the pitfalls in implementing RSA. That is, RSA is more than a "simple example." If you are implemeting RSA with any big-number library, this chapter alone is worth the cost of admission.
There is a chapter on AES (Rijndael) cipher, but it is out of place here and an obvious paste-on, probably a last minute, hot-button item required by the publisher. It really has nothing you can't get from the original NIST documents on AES.
I'm willing to believe that the title and AES paste-on are the fault of the publisher, because otherwise Welschenbach did an excellent job -- lots of hard and careful work, well documeted. With a title-change, I'd give it a 5-star.Read more ›
If this is what you are looking for than this book is for you, otherwise I recomend "Handbook of Applied Cryptography".
It contains all the bases and details of the most important algorithms, RSA and Rijndael:
- If you need mathematical information about cryptography everything is clearly explained.
- If (like me)you want to experiment with practical cryptography, you will be using the RSA routines in minutes, on both VC++ or Linux.
The code is simple, clear, compact. Great book !
And then we found the book "CRYPTOGRAPHY IN C" by MICHAEL WELSCHENBACH.A book we recommend for all the students interested in cryptography.Not just cryptography but to any other problem involving very large numbers.
The perfect guide to break the chains of built-in data types.
A must for every professional and students interested in Cryptography.Anyone having some knowledge in C can refer this wonderful book and wonder why such ideas never occured to them.
Most Recent Customer Reviews
I was hoping to gain some knowledge concerning software development of encryption/decryption in AES. Read morePublished on April 1, 2011 by ALH
Very complete book ; but is oriented on mathemathic alghoritm to create very hight performance code.Published on January 21, 2010 by Triolo Giuseppe
This book is really good for beginners in cryptography. However, the most useful thing in the book is the source code, which can be used for programming your own crypto protocols. Read morePublished on March 19, 2007 by Amit
This book offers a practical and relatively easy to read description of implementing cryptography algorithms, especially RSA, in software. Read morePublished on December 14, 2006 by David Harris
Don't even try to do crypto routines in C/C++ without this book.
It will save you a lot of heartache.
This book will only be appealing to avid crypto fans. The book takes the abstract concept of contemporary algorithms and provides mechanisms for the user to contstruct concrete... Read morePublished on July 13, 2002 by Harry Pandolfino