KeyDerivationPrf Enum¶
Specifies the PRF which should be used for the key derivation algorithm.
- Namespace
Microsoft.AspNetCore.Cryptography.KeyDerivation- Assemblies
- Microsoft.AspNetCore.Cryptography.KeyDerivation
Syntax¶
public enum KeyDerivationPrf
-
enum
Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf
Fields¶
-
HMACSHA1()¶ The HMAC algorithm (RFC 2104) using the SHA-1 hash function (FIPS 180-4).
Return type: Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf HMACSHA1 = 0
-
HMACSHA256()¶ The HMAC algorithm (RFC 2104) using the SHA-256 hash function (FIPS 180-4).
Return type: Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf HMACSHA256 = 1
-
HMACSHA512()¶ The HMAC algorithm (RFC 2104) using the SHA-512 hash function (FIPS 180-4).
Return type: Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf HMACSHA512 = 2
-