cryptoBoxBeforeNm method
Implementation
@override
Future<String> cryptoBoxBeforeNm(KeyPair keyPair) async {
final data = await methodChannel.invokeMethod<String>(
boxBeforeNmMethod,
<String, dynamic>{
'pk': keyPair.pk,
'sk': keyPair.sk,
},
);
return data ?? '';
}