예제 #1
0
 public IHash copy()
 {
     MD2 cop = new MD2();
     Array.Copy(X, cop.X, X.Length);
     cop.xOff = xOff;
     Array.Copy(M, cop.M, M.Length);
     cop.mOff = mOff;
     Array.Copy(C, cop.C, C.Length);
     cop.COff = COff;
     return (IHash) cop;
 }
예제 #2
0
 public static MD2 @new()
 {
     MD2 m = new MD2();
     return m;
 }