Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract class MessageDigest extends Object { // Protected Constructor protected MessageDigest(String algorithm); // Class Methods public static MessageDigest getInstance(String algorithm) throws NoSuchAlgorithmException; public static MessageDigest getInstance(String algorithm, String provider) throws NoSuchAlgorithmException, NoSuchProviderException; public static boolean isEqual(byte[] digesta, byte[] digestb); // Public Instance Methods public Object clone() throws CloneNotSupportedException; // Overrides Object.clone() public byte[] digest(); public byte[] digest(byte[] input); public final String getAlgorithm(); public void reset(); public String toString(); // Overrides Object.toString() public void update(byte input); public void update(byte[] input, int offset, int len); public void update(byte[] input); // Protected Instance Methods protected abstract byte[] engineDigest(); protected abstract void engineReset(); protected abstract void engineUpdate(byte input); protected abstract void engineUpdate(byte[] input, int offset, int len); }