encrypt method
Implementation
@override
Future<Map<dynamic, dynamic>?> encrypt(
String key, String iv, String adata, String pt, int tagLength) async {
final encryptData =
await _methodChannel.invokeMethod<Map<dynamic, dynamic>?>('encrypt', {
'key': key,
'iv': iv,
'adata': adata,
'pt': pt,
'tagLength': tagLength,
});
return encryptData;
}