nacl_sign_open method

Verifies the signature in signed using the signer's public key public and returns the message unsigned.

If the signature fails verification, crypto_sign_open raises an exception.

Implementation

Future<ResultOfNaclSignOpen> nacl_sign_open(
    ParamsOfNaclSignOpen params) async {
  final res =
      await _tonCore.request('crypto.nacl_sign_open', params.toString());
  return ResultOfNaclSignOpen.fromMap(res);
}