Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Andrew DixonAndrew DixonNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NonePriority
New
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Andrew Dixon
Andrew DixonNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Priority
Created 9 May 2020 at 13:37
Updated 16 December 2023 at 22:14
Resolved 28 August 2020 at 13:05
Add support for the Argon2 hashing algorithm that was the winner of the most recent "Password Hashing Competition" (https://password-hashing.net/). The public repo for the algorithm can be found here:
https://github.com/p-h-c/phc-winner-argon2
Specification PDF here:
https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf
There is some information here about using it with Java:
https://www.twelve21.io/how-to-use-argon2-for-password-hashing-in-java/
and there is an online generator here that can be used to validate the output from a new Lucee function:
https://argon2.online/
Suggest the name of the function would be:
`GenerateArgon2Hash`
with parameters of:
Variant (either Argon2i, Argon2d or Argon2id)
Text Input (the value to be hashed)
Salt (the salt to be used)
Parallelism Factor (a number between 1 and 10
Memory cost (a number between 8 and 100000)
Iterations (a number between 1 and 20)
Hash Length (a number between 4 and 100)