EncryptionMode enum

加密模式。

Constants

AES128ECB → const EncryptionMode

128 位 AES 加密,ECB 模式。

@JsonValue(2)
const EncryptionMode(2)
AES128XTS → const EncryptionMode

(默认)128 位 AES 加密,XTS 模式。

@JsonValue(1)
const EncryptionMode(1)
AES256XTS → const EncryptionMode

256 位 AES 加密,XTS 模式。

@JsonValue(3)
const EncryptionMode(3)
None → const EncryptionMode

Deprecated 该模式已废弃。

@JsonValue(0)
const EncryptionMode(0)
SM4128ECB → const EncryptionMode

128 位 SM4 加密,ECB 模式。

@since v3.1.2。

@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

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited