# [RFC] Password Hash Registry

- Thread: https://externals.io/message/103375
- Original archive: https://news-web.php.net/php.internals/103375
- Started by Sara Golemon on 2018-10-23T15:03:17+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #103375 — Sara Golemon — 2018-10-23T15:03:17+00:00

URL: https://externals.io/message/103375#103375

Moving https://wiki.php.net/rfc/password_registry to "Under
Discussion" (previously "Draft").

Since originally drafting this proposal, I've changed the algorithm
selector from the current integer set to a more predictable string key
(similar to the hash extension).  I think I'll probably extend this
slightly further to overload the function algo parameters such that
they'll accept integer (0-3) as BC for DEFAULT, BCRYPT, ARGON2I, and
ARGON2ID respectively.  Please comment if you think that's a bad idea
(or a good one).

-Sara
