IDigestDoFinal(SpanByte) Method

Close the digest, producing the final digest value.

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
int DoFinal(
	Span<byte> output
)

Parameters

output  SpanByte
the span the digest is to be copied into.

Return Value

Int32
the number of bytes written

Remarks

This call leaves the digest reset.

See Also