create_encryption_box method

Creates encryption box with specified algorithm

Implementation

Future<RegisteredEncryptionBox> create_encryption_box(
    ParamsOfCreateEncryptionBox params) async {
  final res = await _tonCore.request(
      'crypto.create_encryption_box', params.toString());
  return RegisteredEncryptionBox.fromMap(res);
}