decrypt method
Decrypt encrypted
value.
Implementation
@override
Uint8List decrypt(Encrypted encrypted, {IV? iv, Uint8List? associatedData}) {
if (iv == null) {
throw StateError('IV is required.');
}
_cipher
..reset()
..init(false, _buildParams(iv));
return _cipher.process(encrypted.bytes);
}