key property

Uint8List get key

Returns current key

Implementation

Uint8List get key {
  return _dwordListToBytes(_key);
}
set key (Uint8List key)

Sets new key. The key length must be 8 bytes.

Implementation

set key(final Uint8List key) {
  if (key.length != blockSize) {
    throw ArgumentError.value(key, "key length should be $blockSize bytes");
  }
  _key = _bytesToDWordList(key);
}