Enumeration EncryptionMode

The built-in encryption mode.

Agora recommends using Aes128Gcm2 or Aes256Gcm2 encrypted mode. These two modes support the use of salt for higher security.

Enumeration Members

Aes128Ecb: 2

2: 128-bit AES encryption, ECB mode.

Aes128Gcm: 5

5: 128-bit AES encryption, GCM mode.

Aes128Gcm2: 7

7: (Default) 128-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (encryptionKdfSalt).

Aes128Xts: 1

1: 128-bit AES encryption, XTS mode.

Aes256Gcm: 6

6: 256-bit AES encryption, GCM mode.

Aes256Gcm2: 8

8: 256-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (encryptionKdfSalt).

Aes256Xts: 3

3: 256-bit AES encryption, XTS mode.

ModeEnd: 9

Enumerator boundary.

Sm4128Ecb: 4

4: 128-bit SM4 encryption, ECB mode.

Generated using TypeDoc