encrypt method
Implementation
@override
Future<Uint8List?> encrypt(String string, String key,
{String iv = _iv}) async {
if (string.isEmpty) {
return null;
}
final Uint8List? crypt =
await methodChannel.invokeMethod('encrypt', [string, key, iv]);
return crypt;
}