ircmaxell / password_compat

Compatibility with the password_* functions that ship with PHP 5.5
MIT License
2.15k stars 421 forks source link

some modification #114

Open sh4tteredd opened 9 months ago

sh4tteredd commented 9 months ago

can this work out? just wanted to test out with this library, feel free to correct me if I'm wrong

bcremer commented 9 months ago

This code is only ever executed on PHP Versions < 5.5. That's versions that are EOL for over 8 years.

Changes in this library are highly unlikely to be released if it's not security related.

The random_bytes function used in your Change was introduced in PHP 7.0. So it's not available in this polyfill.