DES class

Constructors

DES({required List<int> key, DESMode mode = DESMode.ECB, dynamic iv = IV_ZEROS, DESPaddingType paddingType = DESPaddingType.OneAndZeroes})

Properties

hashCode int
The hash code for this object.
no setterinherited
iv List<int>
no getter
paddingType DESPaddingType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

crypt(List<int> data, int cryptType) List<int>
decrypt(List<int> data) List<int>
encrypt(List<int> data) List<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
xor(List<int> a, List<int>? b) List<int>

Operators

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

Constants

BLOCK_SIZE → const int
IV_ZEROS → const List<int>