decrypt method
Decrypt encrypted
value.
Implementation
@override
Uint8List decrypt(Encrypted encrypted, {IV? iv, Uint8List? associatedData}) {
if (privateKey == null) {
throw StateError('Can\'t decrypt without a private key, null given.');
}
_cipher
..reset()
..init(false, _privateKeyParams!);
return _cipher.process(encrypted.bytes);
}