示例#1
0
 public HashKey(byte[] buffer, int size)
 {
     Strong = Encryptor.Current.Hash.Compute20(buffer, 0, size);
     Weak   = new RabinKarpHasher(size).Init(buffer, 0, size);
 }
示例#2
0
 public HashKey(byte[] buffer, int size)
 {
     Strong = Encryptor.Current.Hash.Compute20(buffer, 0, size);
     Weak = new RabinKarpHasher(size).Init(buffer, 0, size);
 }