NBitcoin.BouncyCastle.Crypto.Digests.RipeMD160Digest.Reset()

Here are the examples of the csharp api class NBitcoin.BouncyCastle.Crypto.Digests.RipeMD160Digest.Reset() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: NBitcoin
Source File: RipeMD160Digest.cs
View license
public override int DoFinal(
			byte[] output,
			int outOff)
		{
			Finish();

			UnpackWord(H0, output, outOff);
			UnpackWord(H1, output, outOff + 4);
			UnpackWord(H2, output, outOff + 8);
			UnpackWord(H3, output, outOff + 12);
			UnpackWord(H4, output, outOff + 16);

			Reset();

			return DigestLength;
		}

2. Example

View license
public override int DoFinal(
			byte[] output,
			int outOff)
		{
			Finish();

			UnpackWord(H0, output, outOff);
			UnpackWord(H1, output, outOff + 4);
			UnpackWord(H2, output, outOff + 8);
			UnpackWord(H3, output, outOff + 12);
			UnpackWord(H4, output, outOff + 16);

			Reset();

			return DigestLength;
		}