ValidationAlgorithm Enum

Definition

Specifies a message authentication algorithm to use for providing tamper-proofing to protected payloads.

C#
public enum ValidationAlgorithm
Inheritance
ValidationAlgorithm

Fields

Name Value Description
HMACSHA256 0

The HMAC algorithm (RFC 2104) using the SHA-256 hash function (FIPS 180-4).

HMACSHA512 1

The HMAC algorithm (RFC 2104) using the SHA-512 hash function (FIPS 180-4).

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0