2: 128-bit AES encryption, ECB mode.
5: 128-bit AES encryption, GCM mode.
7: (Default) 128-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (encryptionKdfSalt).
1: 128-bit AES encryption, XTS mode.
6: 256-bit AES encryption, GCM mode.
8: 256-bit AES encryption, GCM mode. This encryption mode requires the setting of salt (encryptionKdfSalt).
3: 256-bit AES encryption, XTS mode.
Enumerator boundary.
4: 128-bit SM4 encryption, ECB mode.
Generated using TypeDoc
The built-in encryption mode.
Agora recommends using Aes128Gcm2 or Aes256Gcm2 encrypted mode. These two modes support the use of salt for higher security.