- Paperback: 484 pages
- Publisher: Wrox; 1 edition (August 19, 2005)
- Language: English
- ISBN-10: 0764596330
- ISBN-13: 978-0764596339
- Product Dimensions: 7.4 x 1 x 9.2 inches
- Shipping Weight: 1.7 pounds (View shipping rates and policies)
- Average Customer Review: 19 customer reviews
- Amazon Best Sellers Rank: #763,273 in Books (See Top 100 in Books)
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 mobile phone number.
Beginning Cryptography with Java 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
From the Back Cover
Beginning Cryptography with Java
While cryptography can still be a controversial topic in the programming community, Java has weathered that storm and provides a rich set of APIs that allow you, the developer, to effectively include cryptography in applicationsif you know how.
This book teaches you how. Chapters one through five cover the architecture of the JCE and JCA, symmetric and asymmetric key encryption in Java, message authentication codes, and how to create Java implementations with the API provided by the Bouncy Castle ASN.1 packages, all with plenty of examples. Building on that foundation, the second half of the book takes you into higher-level topics, enabling you to create and implement secure Java applications and make use of standard protocols such as CMS, SSL, and S/MIME.
What you will learn from this book
- How to understand and use JCE, JCA, and the JSSE for encryption and authentication
- The ways in which padding mechanisms work in ciphers and how to spot and fix typical errors
- An understanding of how authentication mechanisms are implemented in Java and why they are used
- Methods for describing cryptographic objects with ASN.1
- How to create certificate revocation lists and use the Online Certificate Status Protocol (OCSP)
- Real-world Web solutions using Bouncy Castle APIs
Who this book is for
This book is for Java developers who want to use cryptography in their applications or to understand how cryptography is being used in Java applications. Knowledge of the Java language is necessary, but you need not be familiar with any of the APIs discussed.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
About the Author
David Hook has been writing software in a variety of domains and languages for the last 20 years. He has worked with Java since 1995, originally doing medical imaging before moving into cryptography and security a year or so later. In April 2000, he co-founded the open source Bouncy Castle cryptography project and has played an active role in it ever since. He currently works as a freelance consultant, mainly in Java, doing the odd bit of lecturing and writing on the side. When he is not using his spare time to work on Bouncy Castle, he spends it pursuing his other interest in computer graphics. He lives in Melbourne, Australia, with his most patient wife Janine and a cat named Hamlet, who really seems to think he’s a little cryptographer in a fur coat. David can be reached at firstname.lastname@example.org.
Top customer reviews
I am using the book with a graduate class, so I am only partway through, but so far, I am pleased.
I enthusiastically recommend this book to anyone working with Java crypto, including working with custom SSL code.
Even having in mind that this would not be a "for dummies" book, and also knowing cryptography is a hard subject on its own, I found this book hard to follow in many times. Please note I read technical books regularly.
The author demands a lot from the reader. That's because one thing is to read and simply try to understand what the author is saying. That is not so hard. But another thing is to stop and think how you would actually use and code the processes in real life. I think the book deserves more paragraphs in the end of the chapters, to help the reader concludes important points on each subject. Examples of what you find throughout the book:
- in the RSA sections, the book does not talk clearly about what details must and what details must not be agreed between the 2 parties before the process. Do the parties have to agree upon the symmetric key size? Both the mode and the padding of the 2 cryptography (RSA and symmetric) have to be agreed or each party can choose freely?
- in Diffie-Hellman, in real life applications, do the parties have to previously agree upon the value of P and G?
It is up to the reader to find out this kind of "detail", having to make and test his own code or to make further researches.
Another point is that the sample codes the book has are a little too much simplified. Of course, this is good to introduce a new concept, and also for the sake of the book size. But something that bothered me a lot was the fact the the codes are never split between the code that runs in one of the parties (the sender, for instance) and the other party (the receiver). They were always a single block of code, with the codes of the 2 parties mixed up and reusing variables (a good example of this is the Diffie-Hellman code blocks), making it harder, again, to understand how things would be in real life.
I do not need a for dummies book. But a couple more of sentences in each chapter, to help the reader a littler more, would be appreciated.
EDITED: initially I had given 3 stars, but reading the book further, I think it deserves 4 stars. The problems I listed for the first chapters do exist, but only 3 stars would not make justice for this book.
A much more complicated X509v1CertificateBuilder has replaced it. This pretty much breaks a significant piece of the book.