Table of Contents

Class Gost3411_2012_256Digest

Namespace
Org.BouncyCastle.Crypto.Digests
Assembly
BouncyCastle.Cryptography.dll
public class Gost3411_2012_256Digest : Gost3411_2012Digest, IDigest, IMemoable
Inheritance
Gost3411_2012_256Digest
Implements
Inherited Members

Constructors

Gost3411_2012_256Digest()

public Gost3411_2012_256Digest()

Gost3411_2012_256Digest(Gost3411_2012_256Digest)

public Gost3411_2012_256Digest(Gost3411_2012_256Digest other)

Parameters

other Gost3411_2012_256Digest

Properties

AlgorithmName

The algorithm name.

public override string AlgorithmName { get; }

Property Value

string

Methods

Copy()

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

public override IMemoable Copy()

Returns

IMemoable

Remarks

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

DoFinal(byte[], int)

Close the digest, producing the final digest value.

public override int DoFinal(byte[] output, int outOff)

Parameters

output byte[]

The byte array the digest is to be copied into.

outOff int

The offset into the byte array the digest is to start at.

Returns

int

The number of bytes written.

Remarks

This call leaves the digest reset.

DoFinal(Span<byte>)

Close the digest, producing the final digest value.

public override int DoFinal(Span<byte> output)

Parameters

output Span<byte>

The span the digest is to be copied into.

Returns

int

The number of bytes written.

Remarks

This call leaves the digest reset.

GetDigestSize()

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

public override int GetDigestSize()

Returns

int

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