iv property

Uint8List get iv

Returns current iv.

Implementation

Uint8List get iv {
  return _dwordListToBytes(_iv);
}
set iv (Uint8List iv)

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

Implementation

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