DESCipher constructor

DESCipher({
  1. required Uint8List key,
  2. required Uint8List iv,
})

Creates a DESCipher with key and initial vector iv.

key length must be 8 bytes. iv length must be 8 bytes.

Implementation

DESCipher({required final Uint8List key, required final Uint8List iv}) {
  this.key = key;
  this.iv = iv;
}