Obscur.Core.Cryptography.Authentication.Primitives.RipeMD160Digest.ProcessBlock()

Here are the examples of the csharp api class Obscur.Core.Cryptography.Authentication.Primitives.RipeMD160Digest.ProcessBlock() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: ObscurCore
Source File: RipeMD160Digest.cs
View license
internal override void ProcessLength(
            long bitLength)
        {
            if (xOff > 14)
            {
            ProcessBlock();
            }

            X[14] = (int)(bitLength & 0xffffffff);
            X[15] = (int)((ulong) bitLength >> 32);
        }

2. Example

Project: ObscurCore
Source File: RipeMD160Digest.cs
View license
internal override void ProcessWord(
            byte[] input,
            int inOff)
        {
            X[xOff++] = (input[inOff] & 0xff) | ((input[inOff + 1] & 0xff) << 8)
                | ((input[inOff + 2] & 0xff) << 16) | ((input[inOff + 3] & 0xff) << 24);

            if (xOff == 16)
            {
                ProcessBlock();
            }
        }