nacl_box_open method

Decrypt and verify the cipher text using the receivers secret key, the senders public key, and the nonce.

Implementation

Future<ResultOfNaclBoxOpen> nacl_box_open(ParamsOfNaclBoxOpen params) async {
  final res =
      await _tonCore.request('crypto.nacl_box_open', params.toString());
  return ResultOfNaclBoxOpen.fromMap(res);
}