/// <summary> /// Initializes a new instance of the <see cref="Sha256Hmac"/> class. /// </summary> internal Sha256() { _hash = new CryptoServiceProviderHash( CryptoConfiguration.CryptoServiceProviderName, ProviderType.RsaAes, AlgorithmId.Sha256); try { _hash.Initialize(); } catch { _hash.Dispose(); throw; } }