예제 #1
0
 internal CombinedHash(CombinedHash t)
 {
     this.md5  = new MD5Digest(t.md5);
     this.sha1 = new Sha1Digest(t.sha1);
 }
예제 #2
0
 private static byte[] DoFinal(CombinedHash ch)
 {
     byte[] bs = new byte[ch.GetDigestSize()];
     ch.DoFinal(bs, 0);
     return(bs);
 }