Constructors
Name | Description |
---|---|
MessageDigest(String) | Creates a message digest with the specified algorithm name. |
Methods
Name | Description |
---|---|
clone() | Returns a clone if the implementation is cloneable. |
digest() | Completes the hash computation by performing final operations such as padding. |
digest(byte[]) | Performs a final update on the digest using the specified array of bytes, then completes the digest computation. |
engineDigest() | SPI: Completes the hash computation by performing final operations such as padding. |
engineReset() | SPI: Resets the digest for further use. |
engineUpdate(byte) | SPI: Updates the digest using the specified byte. |
engineUpdate(byte[], int, int) | SPI: Updates the digest using the specified array of bytes, starting at the specified offset. |
getAlgorithm() | Returns a string that identifies the algorithm, independent of implementation details. |
getInstance(String) | Generates a MessageDigest object that implements the specified digest algorithm. |
getInstance(String, String) | Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
isEqual(byte[], byte[]) | Compares two digests for equality. |
reset() | Resets the digest for further use. |
toString() | Returns a string representation of this message digest object. |
update(byte) | Updates the digest using the specified byte. |
update(byte[]) | Updates the digest using the specified array of bytes. |
update(byte[], int, int) | Updates the digest using the specified array of bytes, starting at the specified offset. |