// Initialize the hash algorithm. public override void Initialize() { lock (this) { if (state != IntPtr.Zero) { CryptoMethods.HashReset(state); } } }