decryptWithKeyRef method
Implementation
@override
Future<List<int>> decryptWithKeyRef(
KeyRef keyRef,
List<int> cipher,
EncryptionAlgorithm algorithm,
) async {
final result = await _channel.invokeMethod<Uint8List>('decryptWithKeyRef', {
'keyId': keyRef.keyId,
'cipher': Uint8List.fromList(cipher),
'algorithm': encryptionAlgorithmName(algorithm),
});
return result ?? const [];
}