Пример #1
0
		private void CopyIn(MD4Digest t)
		{
			base.CopyIn(t);
            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;
            H4 = t.H4;

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
Пример #2
0
        private void CopyIn(MD4Digest t)
        {
            base.CopyIn(t);
            H1 = t.H1;
            H2 = t.H2;
            H3 = t.H3;
            H4 = t.H4;

            Array.Copy(t.X, 0, X, 0, t.X.Length);
            xOff = t.xOff;
        }
Пример #3
0
        /**
        * Copy constructor.  This will copy the state of the provided
        * message digest.
        */
        public MD4Digest(MD4Digest t) : base(t)
		{
			CopyIn(t);
		}
Пример #4
0
 /**
  * Copy constructor.  This will copy the state of the provided
  * message digest.
  */
 public MD4Digest(MD4Digest t) : base(t)
 {
     CopyIn(t);
 }
Пример #5
0
        public override void Reset(IMemoable other)
        {
            MD4Digest d = (MD4Digest)other;

            CopyIn(d);
        }