Beispiel #1
0
        void CopyIn(Sha1Digest t)
        {
            base.CopyIn(t);

            this.H1 = t.H1;
            this.H2 = t.H2;
            this.H3 = t.H3;
            this.H4 = t.H4;
            this.H5 = t.H5;

            Array.Copy(t.X, 0, this.X, 0, t.X.Length);
            this.xOff = t.xOff;
        }
Beispiel #2
0
 /**
  * Copy constructor.  This will copy the state of the provided
  * message digest.
  */
 public Sha1Digest(Sha1Digest t)
     : base(t)
 {
     CopyIn(t);
 }