IDigestDoFinal(Byte, Int32) 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(
	byte[] output,
	int outOff
)

Parameters

output  Byte
the byte array the digest is to be copied into.
outOff  Int32
the offset into the byte array the digest is to start at.

Return Value

Int32
the number of bytes written

Remarks

This call leaves the digest reset.

See Also