IXof Interface

Definition

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

Remarks

With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes. This interface provides the extra methods required to support variable output on a digest implementation.

Properties

AlgorithmNameThe algorithm name.
(Inherited from IDigest)

Methods

BlockUpdate(ReadOnlySpanByte)Update the message digest with a span of bytes.
(Inherited from IDigest)
BlockUpdate(Byte, Int32, Int32)Update the message digest with a block of bytes.
(Inherited from IDigest)
DoFinal(SpanByte)Close the digest, producing the final digest value.
(Inherited from IDigest)
DoFinal(Byte, Int32)Close the digest, producing the final digest value.
(Inherited from IDigest)
GetByteLengthReturn the size, in bytes, of the internal buffer used by this digest.
(Inherited from IDigest)
GetDigestSizeReturn the size, in bytes, of the digest produced by this message digest.
(Inherited from IDigest)
Output(SpanByte) Start outputting the results of the final calculation for this XOF. Unlike OutputFinal, this method will continue producing output until the XOF is explicitly reset, or signals otherwise.
Output(Byte, Int32, Int32) Start outputting the results of the final calculation for this XOF. Unlike DoFinal, this method will continue producing output until the XOF is explicitly reset, or signals otherwise.
OutputFinal(SpanByte) Output the results of the final calculation for this XOF to fill the output span.
OutputFinal(Byte, Int32, Int32) Output the results of the final calculation for this XOF to outLen number of bytes.
ResetReset the digest back to its initial state.
(Inherited from IDigest)
UpdateUpdate the message digest with a single byte.
(Inherited from IDigest)

See Also