Org.BouncyCastle.Crypto.Digests.RipeMD320Digest.Reset C# (CSharp) Method

Reset() public method

reset the chaining variables to the IV values.
public Reset ( ) : void
return void
        public override void  Reset()
        {
            base.Reset();

            H0 = unchecked((int) 0x67452301);
            H1 = unchecked((int) 0xefcdab89);
            H2 = unchecked((int) 0x98badcfe);
            H3 = unchecked((int) 0x10325476);
            H4 = unchecked((int) 0xc3d2e1f0);
            H5 = unchecked((int) 0x76543210);
            H6 = unchecked((int) 0xFEDCBA98);
            H7 = unchecked((int) 0x89ABCDEF);
            H8 = unchecked((int) 0x01234567);
            H9 = unchecked((int) 0x3C2D1E0F);

            xOff = 0;

            for (int i = 0; i != X.Length; i++)
            {
                X[i] = 0;
            }
        }