2: 128-bit AES encryption, ECB mode.
5: 128-bit AES encryption, GCM mode.
7: (Default) 128-bit GCM encryption, GCM mode.
1: 128-bit AES encryption, XTS mode.
6: 256-bit AES encryption, GCM mode.
8: 256-bit GCM encryption, GCM mode.
3: 256-bit AES encryption, XTS mode.
4: 128-bit SM4 encryption, ECB mode.
Generated using TypeDoc
Encryption mode.
Agora recommends using either the
AES128GCM2
orAES256GCM2
encryption mode, both of which support adding a salt and are more secure.