Example #1
0
        public IHash copy()
        {
            MD4 cop = new MD4();
            Array.Copy(xBuf, 0, cop.xBuf, 0, xBuf.Length);
            cop.xBufOff = xBufOff;
            cop.byteCount = byteCount;

            cop.H1 = H1;
            cop.H2 = H2;
            cop.H3 = H3;
            cop.H4 = H4;
            Array.Copy(X, 0, cop.X, 0, X.Length);
            cop.xOff = xOff;
            return (IHash) cop;
        }
Example #2
0
 public static MD4 @new()
 {
     MD4 m = new MD4();
     return m;
 }