cryptoBoxBeforeNm method
Implementation
@override
Future<String> cryptoBoxBeforeNm(KeyPair keyPair) async {
final pk = HexConverter.hexToBytes(keyPair.pk);
final sk = HexConverter.hexToBytes(keyPair.sk);
final result = interop.crypto_box_beforenm(pk, sk);
return HexConverter.bytesToHex(result);
}