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.
Enumerator
- Aes128Xts
- 1: 128-bit AES encryption, XTS mode.
- Aes128Ecb
- 2: 128-bit AES encryption, ECB mode.
- Aes256Xts
- 3: 256-bit AES encryption, XTS mode.
- Sm4128Ecb
- 4: 128-bit SM4 encryption, ECB mode.
- Aes128Gcm
- 5: 128-bit AES encryption, GCM mode.
- Aes256Gcm
- 6: 256-bit AES encryption, GCM mode.
- Aes128Gcm2
- 7: (Default) 128-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (
encryptionKdfSalt
). - Aes256Gcm2
- 8: 256-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (
encryptionKdfSalt
). - ModeEnd
- Enumerator boundary.