The default options for iterations
and memory
should be
sufficient for most purposes. You are encouraged to read the official
documentation before modifying these values, which can be found here
https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf.
On the other hand, nthreads
is safe to change to fit your available
resources, and you are encouraged to do so.
This uses the argon2 (i or d variety) hash algorithm. See references for
details and implementation source code (also bundled with this package).
Our binding uses a 512 bit salt with data generated from MT.