public class SHA512Digest extends LongDigest
block word digest
SHA-1 512 32 160
SHA-256 512 32 256
SHA-384 1024 64 384
SHA-512 1024 64 512
| Constructor and Description |
|---|
SHA512Digest()
Standard constructor
|
SHA512Digest(SHA512Digest t)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doFinal(byte[] out,
int outOff)
close the digest, producing the final digest value.
|
String |
getAlgorithmName()
return the algorithm name
|
int |
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
void |
reset()
reset the chaining variables
|
finish, getByteLength, processBlock, processLength, processWord, update, updatepublic SHA512Digest()
public SHA512Digest(SHA512Digest t)
public String getAlgorithmName()
Digestpublic int getDigestSize()
Digestpublic int doFinal(byte[] out,
int outOff)
Digestout - the array the digest is to be copied into.outOff - the offset into the out array the digest is to start at.public void reset()
reset in interface Digestreset in class LongDigestCopyright © 2015. All rights reserved.