public DiffieHellmanGroupSha1(DiffieHellman algorithm) { Contract.Requires(algorithm != null); this.exchangeAlgorithm = algorithm; this.HashAlgorithm = new SHA1CryptoServiceProvider(); }
public DiffieHellmanGroupSha1(DiffieHellman algorithm) { Contract.Requires(algorithm != null); _exchangeAlgorithm = algorithm; _hashAlgorithm = new SHA1CryptoServiceProvider(); }