org.bouncycastle.crypto.digests

Class SHA512Digest

public class SHA512Digest extends LongDigest

FIPS 180-2 implementation of SHA-512.
         block  word  digest
 SHA-1   512    32    160
 SHA-256 512    32    256
 SHA-384 1024   64    384
 SHA-512 1024   64    512
 
Constructor Summary
SHA512Digest()
Standard constructor
SHA512Digest(SHA512Digest t)
Copy constructor.
Method Summary
intdoFinal(byte[] out, int outOff)
StringgetAlgorithmName()
intgetDigestSize()
voidreset()
reset the chaining variables

Constructor Detail

SHA512Digest

public SHA512Digest()
Standard constructor

SHA512Digest

public SHA512Digest(SHA512Digest t)
Copy constructor. This will copy the state of the provided message digest.

Method Detail

doFinal

public int doFinal(byte[] out, int outOff)

getAlgorithmName

public String getAlgorithmName()

getDigestSize

public int getDigestSize()

reset

public void reset()
reset the chaining variables