factorize method

Performs prime factorization – decomposition of a composite number into a product of smaller prime integers (factors). See https://en.wikipedia.org/wiki/Integer_factorization

Implementation

Future<ResultOfFactorize> factorize(ParamsOfFactorize params) async {
  final res = await _tonCore.request('crypto.factorize', params.toString());
  return ResultOfFactorize.fromMap(res);
}