org.bouncycastle.crypto.digests

Class GOST3411Digest

public class GOST3411Digest extends Object implements ExtendedDigest

implementation of GOST R 34.11-94
Constructor Summary
GOST3411Digest()
Standard constructor
GOST3411Digest(GOST3411Digest t)
Copy constructor.
Method Summary
intdoFinal(byte[] out, int outOff)
StringgetAlgorithmName()
intgetByteLength()
intgetDigestSize()
protected voidprocessBlock(byte[] in, int inOff)
voidreset()
voidupdate(byte in)
voidupdate(byte[] in, int inOff, int len)

Constructor Detail

GOST3411Digest

public GOST3411Digest()
Standard constructor

GOST3411Digest

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

getByteLength

public int getByteLength()

getDigestSize

public int getDigestSize()

processBlock

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

reset

public void reset()

update

public void update(byte in)

update

public void update(byte[] in, int inOff, int len)