Chapter 7. Message Digests and Digital Signatures

In Chapter 5,"An Introduction to Cryptography," and Chapter 6,"Key Management and Digital Certificates," you were introduced to message digests and digital signatures. These are important elements of Java security because they provide the basic mechanism for trusted code distribution. In this chapter, you'll take a closer look at message digests and digital signatures, study their classes and interfaces, and gain practical experience in creating digests and signatures. You'll also cover message authentication codes (MACs) and learn how they can be used to protect the integrity of messages that are sent over insecure communication channels.

Message Digest Classes and Interfaces

Support for message ...

Get Java Security Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.