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