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