EncryptionMode enum Null safety
Encryption mode
Constants
- AES128ECB → const EncryptionMode
-
128-bit AES encryption, ECB mode.
@JsonValue(2)const EncryptionMode(2)
- AES128GCM → const EncryptionMode
-
128-bit AES encryption, GCM mode.
@JsonValue(5)const EncryptionMode(5)
- AES128GCM2 → const EncryptionMode
-
(Default) 128-bit AES encryption, GCM mode. Compared to AES128GCM encryption mode, AES128GCM2 encryption mode is more secure and requires you to set the salt (encryptionKdfSalt).
@JsonValue(7)const EncryptionMode(7)
- AES128XTS → const EncryptionMode
-
(Default) 128-bit AES encryption, XTS mode.
@JsonValue(1)const EncryptionMode(1)
- AES256GCM → const EncryptionMode
-
256-bit AES encryption, GCM mode.
@JsonValue(6)const EncryptionMode(6)
- AES256GCM2 → const EncryptionMode
-
256-bit AES encryption, GCM mode. Compared to AES256GCM encryption mode, AES256GCM2 encryption mode is more secure and requires you to set the salt (encryptionKdfSalt).
@JsonValue(8)const EncryptionMode(8)
- AES256XTS → const EncryptionMode
-
256-bit AES encryption, XTS mode.
@JsonValue(3)const EncryptionMode(3)
- None → const EncryptionMode
-
This mode is deprecated.
@JsonValue(0)const EncryptionMode(0)
- SM4128ECB → const EncryptionMode
-
128-bit SM4 encryption, ECB mode.
@JsonValue(4)const EncryptionMode(4)
-
values
→ const List<
EncryptionMode> -
A constant List of the values in this enum, in order of their declaration.
const List<
EncryptionMode>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited