funcool / funcool/buddy-hashers
must-update? should also accept explicit parameters
Open
- Dominant language
- Java
- Stars
- 81
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
For my uses, the default parameters for :argon2id aren't sufficient for my hardware, so I hash with an extra iteration. Sadly, when I verify a password, it always comes back with {:update true} because passwords are always hashed with custom parameters.
I should be able to pass those explicit parameters to verify, so it can then pass those along to must-update?
For example:
`(hashers/verify attempt encrypted {:limit #{:argon2id}, :params {:iterations 3, :memory 65536, :parallelism 1}})`
Alternatively, we should be able to reset the global parameters.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.