5 instantiations of HMACSHA256
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
PBKDF2\ManagedPbkdf2Provider.cs (1)
79return new HMACSHA256(passwordBytes);
Microsoft.AspNetCore.DataProtection (1)
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
70return () => new HMACSHA256();
Microsoft.Extensions.Compliance.Redaction (1)
HmacRedactor.cs (1)
112using var hmac = new HMACSHA256(hashKey);
System.ServiceModel.Primitives (2)
System\IdentityModel\CryptoHelper.cs (2)
82return new HMACSHA256(key); 252return new HMACSHA256();
14 references to HMACSHA256
Microsoft.AspNetCore.DataProtection (8)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
190return typeof(HMACSHA256);
AuthenticatedEncryption\ConfigurationModel\ManagedAlgorithmHelpers.cs (1)
18typeof(HMACSHA256),
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (1)
53public Type ValidationAlgorithmType { get; set; } = typeof(HMACSHA256);
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
68if (configuration.ValidationAlgorithmType == typeof(HMACSHA256))
Managed\ManagedAuthenticatedEncryptor.cs (4)
243if (validationAlgorithm is HMACSHA256) 245HMACSHA256.HashData(key: validationSubkey, source: ivAndCipherTextSpan, destination: macDestinationSpan); 407if (validationAlgorithm is HMACSHA256) 409bytesWritten = HMACSHA256.HashData(key: validationSubkey, source: dataToValidate, destination: correctHash);
Microsoft.Extensions.Compliance.Redaction (1)
HmacRedactor.cs (1)
112using var hmac = new HMACSHA256(hashKey);
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
887[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA256))]
netstandard (1)
netstandard.cs (1)
1884[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA256))]
System.Security.Cryptography (2)
System\Security\Cryptography\CryptoConfig.cs (1)
123Type HMACSHA256Type = typeof(System.Security.Cryptography.HMACSHA256);
System\Security\Cryptography\Helpers.cs (1)
366return HMACSHA256.HashSizeInBytes;
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
30[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.HMACSHA256))]