Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.UnpackWord(int, byte[], int)

Here are the examples of the csharp api class Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.UnpackWord(int, byte[], int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. 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);
            UnpackWord(H5, output, outOff + 20);
            UnpackWord(H6, output, outOff + 24);
            UnpackWord(H7, output, outOff + 28);
            UnpackWord(H8, output, outOff + 32);
            UnpackWord(H9, output, outOff + 36);

            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);
            UnpackWord(H5, output, outOff + 20);
            UnpackWord(H6, output, outOff + 24);
            UnpackWord(H7, output, outOff + 28);
            UnpackWord(H8, output, outOff + 32);
            UnpackWord(H9, output, outOff + 36);

            Reset();

            return DigestLength;
        }

3. Example

Project: Netcode.IO.NET
Source File: RipeMD320Digest.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);
            UnpackWord(H5, output, outOff + 20);
            UnpackWord(H6, output, outOff + 24);
            UnpackWord(H7, output, outOff + 28);
            UnpackWord(H8, output, outOff + 32);
            UnpackWord(H9, output, outOff + 36);

            Reset();

            return DigestLength;
        }

4. Example

Project: cms
Source File: RipeMD320Digest.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);
            UnpackWord(H5, output, outOff + 20);
            UnpackWord(H6, output, outOff + 24);
            UnpackWord(H7, output, outOff + 28);
            UnpackWord(H8, output, outOff + 32);
            UnpackWord(H9, output, outOff + 36);

            Reset();

            return DigestLength;
        }