simonepri / phc-argon2

🔒 Node.JS Argon2 password hashing algorithm following the PHC string format.
MIT License
17 stars 6 forks source link

Implement valid-need-rehash status #9

Open Extarys opened 5 years ago

Extarys commented 5 years ago

Many Argon2 implementation will return some kind of VALID_NEED_REHASH if the hashing cost was increased.

Is it currently possible to know such thing from phc-argon2? If not, are you planning on adding this feature?

Thanks!

simonepri commented 5 years ago

"if the hashing cost was increased"

Can you please elaborate on this? Thanks!