Org.BouncyCastle.Crypto.Digests.RipeMD256Digest.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)0x76543210);
            H5 = unchecked((int)0xFEDCBA98);
            H6 = unchecked((int)0x89ABCDEF);
            H7 = unchecked((int)0x01234567);

            xOff = 0;

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