DESCipher class

Implements DES encryption algorithm using CBC block cipher mode

Implementers

Constructors

DESCipher({required Uint8List key, required Uint8List iv})
Creates a DESCipher with key and initial vector iv.

Properties

hashCode int
The hash code for this object.
no setterinherited
iv Uint8List
Returns current iv.
getter/setter pair
key Uint8List
Returns current key
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(Uint8List edata, {bool paddedData = true}) Uint8List
Returns decrypted edata.
decryptBlock(Uint8List eblock) Uint8List
encrypt(Uint8List data, {bool padData = true}) Uint8List
Returns encrypted data.
encryptBlock(Uint8List block) Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

blockSize → const int