SHA1Internal (SHA1Internal other) { count = other.count; _H = new uint [other._H.Length]; Array.Copy (other._H, _H, _H.Length); _ProcessingBufferCount = other._ProcessingBufferCount; _ProcessingBuffer = new byte [other._ProcessingBuffer.Length]; Array.Copy (other._ProcessingBuffer, _ProcessingBuffer, _ProcessingBuffer.Length); buff = new uint [other.buff.Length]; Array.Copy (other.buff, buff, buff.Length); }
public SHA1CryptoServiceProvider() { sha = new SHA1Internal(); }
public SHA1Managed() { sha = new SHA1Internal(); }
public byte[] GetRunningHash () { var copy = new SHA1Internal (this); return copy.HashFinal (); }
public SHA1Managed () { sha = new SHA1Internal (); }