org.bouncycastle.crypto.digests

Class GOST3411Digest

Implemented Interfaces:
Digest

public class GOST3411Digest
extends java.lang.Object
implements Digest

implementation of GOST R 34.11-94

Constructor Summary

GOST3411Digest()
Standard constructor
GOST3411Digest(GOST3411Digest t)
Copy constructor.

Method Summary

int
doFinal(byte[] out, int outOff)
String
getAlgorithmName()
int
getDigestSize()
protected void
processBlock(byte[] in, int inOff)
void
reset()
void
update(byte in)
void
update(byte[] in, int inOff, int len)

Constructor Details

GOST3411Digest

public GOST3411Digest()
Standard constructor


GOST3411Digest

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

Method Details

doFinal

public int doFinal(byte[] out,
                   int outOff)
Specified by:
doFinal in interface Digest


getAlgorithmName

public String getAlgorithmName()
Specified by:
getAlgorithmName in interface Digest


getDigestSize

public int getDigestSize()
Specified by:
getDigestSize in interface Digest


processBlock

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


reset

public void reset()
Specified by:
reset in interface Digest


update

public void update(byte in)
Specified by:
update in interface Digest


update

public void update(byte[] in,
                   int inOff,
                   int len)
Specified by:
update in interface Digest