Comparison with Previous Releases

In Java 1.1, there is no MessageDigestSpi class, and the MessageDigest class simply extends Object. If you want to implement your own message digest in 1.1, then you extend the MessageDigest class directly. This does not cause any implementation differences.

The getDigestLength( ) method does not exist in 1.1 nor does the digest( ) method with a signature that accepts an array, offset, and length.

Get Java Security, 2nd Edition 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.