Compare the supplied plaintext password to a hashed password.
Compare the supplied plaintext password to a hashed password.
Plaintext password.
scrypt hashed password.
true if passwd matches hashed value.
Hash the supplied plaintext password and generate output in the format described in
Hash the supplied plaintext password and generate output in the format described in
Password.
CPU cost parameter.
Memory cost parameter.
Parallelization parameter.
The hashed password.
SCrypt util scala adaption for Will Glozer's (@wg on github) SCryptUtil, improving on SHA1PRNGs, bad security in particular.
SCrypt described here: http://www.tarsnap.com/scrypt.html
The hashed output is an extended implementation of the Modular Crypt Format that also includes the scrypt algorithm parameters.
Format:
$s0$PARAMS$SALT$KEY
.<dl>
s0
identifies version 0 of the scrypt format, using a 128-bit salt and 256-bit derived key.