EncryptionAlgorithm Enum

Definition

Specifies a symmetric encryption algorithm to use for providing confidentiality to protected payloads.

C#
public enum EncryptionAlgorithm
Inheritance
EncryptionAlgorithm

Fields

Name Value Description
AES_128_CBC 0

The AES algorithm (FIPS 197) with a 128-bit key running in Cipher Block Chaining mode.

AES_192_CBC 1

The AES algorithm (FIPS 197) with a 192-bit key running in Cipher Block Chaining mode.

AES_256_CBC 2

The AES algorithm (FIPS 197) with a 256-bit key running in Cipher Block Chaining mode.

AES_128_GCM 3

The AES algorithm (FIPS 197) with a 128-bit key running in Galois/Counter Mode (FIPS SP 800-38D).

AES_192_GCM 4

The AES algorithm (FIPS 197) with a 192-bit key running in Galois/Counter Mode (FIPS SP 800-38D).

AES_256_GCM 5

The AES algorithm (FIPS 197) with a 256-bit key running in Galois/Counter Mode (FIPS SP 800-38D).

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