Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition
by Li Gong, Gary Ellison, Mary Dageforde
10.1. Cryptographic Concepts
This section provides a high-level description of the cryptographic terms used in the API specifications and this chapter.
A digital signature algorithm takes arbitrary-sized input and a private key and generates a relatively short, often fixed-size, string of bytes, called the signature, with the following two properties:
When the public key corresponding to the private key used to generate the signature is provided, it should be possible to verify the authenticity and integrity of the input.
The signature and the public key do not reveal anything about the private key.
A cryptographically secure message digest takes arbitrary-sized input—a byte array—and generates a fixed-size output, called a digest, or hash. It ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access