nacl_box_keypair method

Future<KeyPair> nacl_box_keypair()

Generates a random NaCl key pair

Implementation

Future<KeyPair> nacl_box_keypair() async {
  final res = await _tonCore.request('crypto.nacl_box_keypair', null);
  return KeyPair.fromMap(res);
}