org.bouncycastle.crypto.digests

Class SHA224Digest

public class SHA224Digest extends GeneralDigest

SHA-224 as described in RFC 3874
         block  word  digest
 SHA-1   512    32    160
 SHA-224 512    32    224
 SHA-256 512    32    256
 SHA-384 1024   64    384
 SHA-512 1024   64    512
 
Constructor Summary
SHA224Digest()
Standard constructor
SHA224Digest(SHA224Digest t)
Copy constructor.
Method Summary
intdoFinal(byte[] out, int outOff)
StringgetAlgorithmName()
intgetDigestSize()
protected voidprocessBlock()
protected voidprocessLength(long bitLength)
protected voidprocessWord(byte[] in, int inOff)
voidreset()
reset the chaining variables

Constructor Detail

SHA224Digest

public SHA224Digest()
Standard constructor

SHA224Digest

public SHA224Digest(SHA224Digest 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()

processBlock

protected void processBlock()

processLength

protected void processLength(long bitLength)

processWord

protected void processWord(byte[] in, int inOff)

reset

public void reset()
reset the chaining variables