cryptoSecretBoxOpenEasy method
Implementation
@override
Future<String> cryptoSecretBoxOpenEasy(
String ciphertext,
String nonce,
String key,
) async {
final c = HexConverter.hexToBytes(ciphertext);
final n = HexConverter.hexToBytes(nonce);
final k = HexConverter.hexToBytes(key);
final result = interop.crypto_secretbox_open_easy(c, n, k);
return String.fromCharCodes(result);
}