コード例 #1
0
        private void CopyIn(RipeMD128Digest t)
        {
            base.CopyIn(t);

            H0 = t.H0;
            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
コード例 #2
0
        public override void Reset(IMemoable other)
        {
            RipeMD128Digest d = (RipeMD128Digest)other;

            CopyIn(d);
        }
コード例 #3
0
 /**
  * Copy constructor.  This will copy the state of the provided
  * message digest.
  */
 public RipeMD128Digest(RipeMD128Digest t) : base(t)
 {
     CopyIn(t);
 }