ReadonlydkDerived key length in bytes. With any of logN, r, p given it must
be in [10, 64] (the reference's parameterised path, scrypt::Params::new);
with the defaults any length ≥ 1 is accepted (the reference's default path).
Optional Readonlyloglog₂ of the CPU/memory cost N. Default 17 (N = 131072). An integer in
[0, 32] and below 16·r (scrypt::Params::new); 0 is N = 1, which the
reference derives with. Values above 32 need at least 3.3 TiB.
Optional ReadonlyrBlock size. Default 8.
Optional ReadonlypParallelism. Default 1. r·p must be below 2^30.
Optional ReadonlymaxmemAn optional ceiling in bytes on the working memory, 128·r·(N + p + 1).
By default there is none, as in the reference, which allocates whatever
the parameters imply; a parameter set above the ceiling is
InvalidParameter. A ceiling does not bypass the logN limit or the
runtime's allocation limits.
Options for scrypt. Defaults are the reference parameters.