Cryptography in C and C++ / Edition 2

Hardcover (Print)
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $44.94
Usually ships in 1-2 business days
(Save 47%)
Other sellers (Hardcover)
  • All (14) from $44.94   
  • New (9) from $63.41   
  • Used (5) from $44.94   


"Cryptography in C and C++" not only explains the theory behind public key cryptography methods such as the recently released from patent RSA algorithm, it also presents a technical overview of the Rijndael algorithm that was recently selected "Advanced Encryption Standard" by the U.S. Government. See for more information.
This book is comprehensive. Among its other features, it gives the step-by-step development of a program package for arithmetic and cryptography, including the all-important multiprecision packages needed for cryptography. The author avoids mathematical complexities yet still manages to explain in terms a programmer can understand the mathematical basis for these functions.
The CD-ROM contains not only programs presented in the book, it even contains 80x86 assembler programs for key pieces. This code can be used to boost performance on arithmetic on Windows and Linux platforms. The CD also contains implementations of the new Rijndael Advanced Encryption Standard algorithm in both C and C++.
- Only book on the market to cover Rijndael, a new data encryption standard.@- Gives explanations of the ideas behind the algorithms, yet avoids complicated mathematics@- Relentlessly practical@- Far more up-to-date than any other title on the subject
Read More Show Less

Product Details

  • ISBN-13: 9781590595022
  • Publisher: Apress
  • Publication date: 5/26/2005
  • Edition description: Revised
  • Edition number: 2
  • Pages: 504
  • Product dimensions: 7.00 (w) x 10.00 (h) x 1.02 (d)

Meet the Author

Michael Welschenbach works for SRC Security Research & Consulting GmbH in Bonn, Germany. He graduated with a master's degree in mathematics from the University of Cologne, and has extensive experience in both pure and applied cryptological research. Currently, his favorite programming languages are C and C++. When not working, he enjoys spending time with his wife and two sons, programming, reading, and playing music.
Read More Show Less

Table of Contents

I Arithmetic and number theory in C 1
1 Introduction 3
2 Number formats : the representation of large numbers in C 13
3 Interface semantics 19
4 The fundamental operations 23
5 Modular arithmetic : calculating with residue classes 67
6 Where all roads meet : modular exponentiation 81
7 Bitwise and logical functions 125
8 Input, output, assignment, conversion 145
9 Dynamic registers 157
10 Basic number-theoretic functions 167
11 Rijndael : a successor to the data encryption standard 237
12 Large random numbers 261
13 Strategies for testing LINT 305
II Arithmetic in C++ with the class LINT 317
14 Let C++ simplify your life 319
15 The LINTPublic interface : members and friends 337
16 Error handling 367
17 An application example : the RSA cryptosystem 377
18 Do it yourself : test LINT 413
19 Approaches for further extensions 417
III Appendices 419
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)