6 references to BCRYPT_SHA256_ALGORITHM
Microsoft.AspNetCore.Cryptography.Internal (2)
Cng\CachedAlgorithmHandles.cs (2)
18
private static CachedAlgorithmInfo _hmacSha256 = new CachedAlgorithmInfo(() => GetHmacAlgorithm(algorithm: Constants.
BCRYPT_SHA256_ALGORITHM
));
22
private static CachedAlgorithmInfo _sha256 = new CachedAlgorithmInfo(() => GetHashAlgorithm(algorithm: Constants.
BCRYPT_SHA256_ALGORITHM
));
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
PBKDF2\Win8Pbkdf2Provider.cs (1)
203
return Constants.
BCRYPT_SHA256_ALGORITHM
;
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
156
return Constants.
BCRYPT_SHA256_ALGORITHM
;
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
82
else if (configuration.HashAlgorithm == Constants.
BCRYPT_SHA256_ALGORITHM
) { algorithmHandle = CachedAlgorithmHandles.HMAC_SHA256; }
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (1)
63
public string HashAlgorithm { get; set; } = Constants.
BCRYPT_SHA256_ALGORITHM
;