示例#1
0
 public CryptoHash(string key, HashAlgorithm algorithm)
 {
     this._encryptionOptions = new CryptoConfig(true, key);
     this._algorithm         = algorithm;
 }
示例#2
0
 public CryptoHash(CryptoConfig options, HashAlgorithm algorithm)
 {
     this._encryptionOptions = options;
     this._algorithm         = algorithm;
 }
示例#3
0
 public CryptoHash()
 {
     this._encryptionOptions = new CryptoConfig();
     this._algorithm         = CryptographyUtils.CreateHashAlgoMd5();
 }