Hi,

Using "crypt" function is a mess

(perhaps one of the reason for password_hash)

This proposal provides more bindings:

* crypt_gensalt($salt, $count)
* crypt_preferred_method()
* crypt_checksalt($salt)

And more Algo

* scrypt
* yescrypt
* gost-yescrypt

These were already usable but very hard to use without a salt.

Small breaking change

CRYPT_* constants are now string with algo prefix


See https://github.com/php/php-src/pull/15870

A single test for now, showing usage and checking
compatibility with password_hash


Open for discussion


Remi

Reply via email to