scrypt method
Derives key from password and key using scrypt algorithm.
See https://en.wikipedia.org/wiki/Scrypt.
Arguments
log_n- The log2 of the Scrypt parameterNr- The Scrypt parameterrp- The Scrypt parameterp
Conditions
log_nmust be less than64rmust be greater than0and less than or equal to4294967295pmust be greater than0and less than4294967295
Recommended values sufficient for most use-cases
log_n = 15(n = 32768)r = 8p = 1
Implementation
Future<ResultOfScrypt> scrypt(ParamsOfScrypt params) async {
final res = await _tonCore.request('crypto.scrypt', params.toString());
return ResultOfScrypt.fromMap(res);
}