Skip Menu |

This queue is for tickets about the Crypt-Argon2 CPAN distribution.

Report information
The Basics
Id: 132695
Status: new
Priority: 0/
Queue: Crypt-Argon2

People
Owner: Nobody in particular
Requestors: cmanley [...] xs4all.nl
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.007
Fixed in: (no value)



Subject: Please implement a function like password_needs_rehash in PHP
See: https://www.php.net/manual/en/function.password-needs-rehash What it should to is check the version, memory_cost, time_cost, threads, salt length, and hash length of the encrypted string against the given hash of options/args that are normally meant for password_hash. If anything differs, then it must return 1, else 0. Then I'll be able to use your module in mine: https://metacpan.org/pod/PHP::Functions::Password The salt length and hash length part is not yet clear to me otherwise I can also do it myself.