public class SHA1Digest extends Digest
Constructor and Description |
---|
SHA1Digest()
Creates a new SHA1Digest object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Returns the name of the algorithm.
|
int |
getBlockLength()
Returns the block length.
|
int |
getDigestLength()
Returns the message digest length.
|
protected byte[] |
process(byte[] data) |
public SHA1Digest() throws NoSuchAlgorithmException
NoSuchAlgorithmException
- If no Provider supports a MessageDigestSpi
implementation for the specified algorithm.public final java.lang.String getAlgorithm()
getAlgorithm
in class Digest
public final int getBlockLength()
getBlockLength
in class Digest
public final int getDigestLength()
getDigestLength
in class Digest