IDigest Interface

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public interface IDigest

Remarks

Base interface for a message digest.

Properties

AlgorithmNameThe algorithm name.

Methods

BlockUpdate(ReadOnlySpanByte)Update the message digest with a span of bytes.
BlockUpdate(Byte, Int32, Int32)Update the message digest with a block of bytes.
DoFinal(SpanByte)Close the digest, producing the final digest value.
DoFinal(Byte, Int32)Close the digest, producing the final digest value.
GetByteLengthReturn the size, in bytes, of the internal buffer used by this digest.
GetDigestSizeReturn the size, in bytes, of the digest produced by this message digest.
ResetReset the digest back to its initial state.
UpdateUpdate the message digest with a single byte.

See Also