Top Description Fields Constructors Methods
org.bouncycastle.crypto.digests

public final Class GOST3411_2012_256Digest

extends GOST3411_2012Digest
Class Inheritance
Imports
org.bouncycastle.crypto.CryptoServicePurpose, org.bouncycastle.util.Memoable

implementation of GOST R 34.11-2012 256-bit

Field Summary

Modifier and TypeField and Description
private static final byte[]
Inherited from org.bouncycastle.crypto.digests.GOST3411_2012Digest:
purpose

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public Memoable
copy()

Implements abstract org.bouncycastle.crypto.digests.GOST3411_2012Digest.copy.

Implements org.bouncycastle.util.Memoable.copy.

Produce a copy of this object with its configuration and in its current state.

public int
doFinal(byte[]
the array the digest is to be copied into.
out
,
int
the offset into the out array the digest is to start at.
outOff
)

Overrides org.bouncycastle.crypto.digests.GOST3411_2012Digest.doFinal.

Implements org.bouncycastle.crypto.Digest.doFinal.

close the digest, producing the final digest value.

public String
public int
getDigestSize()

Implements abstract org.bouncycastle.crypto.digests.GOST3411_2012Digest.getDigestSize.

Implements org.bouncycastle.crypto.Digest.getDigestSize.

return the size, in bytes, of the digest produced by this message digest.

Inherited from org.bouncycastle.crypto.digests.GOST3411_2012Digest:
getByteLengthresetresetupdateupdate

Field Detail

IVback to summary
private static final byte[] IV

Hides org.bouncycastle.crypto.digests.GOST3411_2012Digest.IV.

Constructor Detail

GOST3411_2012_256Digestback to summary
public GOST3411_2012_256Digest(CryptoServicePurpose purpose)
GOST3411_2012_256Digestback to summary
public GOST3411_2012_256Digest()
GOST3411_2012_256Digestback to summary
public GOST3411_2012_256Digest(GOST3411_2012_256Digest other)

Method Detail

copyback to summary
public Memoable copy()

Implements abstract org.bouncycastle.crypto.digests.GOST3411_2012Digest.copy.

Implements org.bouncycastle.util.Memoable.copy.

Doc from org.bouncycastle.util.Memoable.copy.

Produce a copy of this object with its configuration and in its current state.

The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state.

doFinalback to summary
public int doFinal(byte[] out, int outOff)

Overrides org.bouncycastle.crypto.digests.GOST3411_2012Digest.doFinal.

Implements org.bouncycastle.crypto.Digest.doFinal.

Doc from org.bouncycastle.crypto.Digest.doFinal.

close the digest, producing the final digest value. The doFinal call leaves the digest reset.

Parameters
out:byte[]

the array the digest is to be copied into.

outOff:int

the offset into the out array the digest is to start at.

getAlgorithmNameback to summary
public String getAlgorithmName()

Implements abstract org.bouncycastle.crypto.digests.GOST3411_2012Digest.getAlgorithmName.

Implements org.bouncycastle.crypto.Digest.getAlgorithmName.

Doc from org.bouncycastle.crypto.Digest.getAlgorithmName.

return the algorithm name

Returns:String

the algorithm name

getDigestSizeback to summary
public int getDigestSize()

Implements abstract org.bouncycastle.crypto.digests.GOST3411_2012Digest.getDigestSize.

Implements org.bouncycastle.crypto.Digest.getDigestSize.

Doc from org.bouncycastle.crypto.Digest.getDigestSize.

return the size, in bytes, of the digest produced by this message digest.

Returns:int

the size, in bytes, of the digest produced by this message digest.