public class SHA256Digest extends Digest
Constructor and Description |
---|
SHA256Digest()
Creates a new SHA256Digest 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 SHA256Digest() 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