defuse / password-hashing

Password hashing code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade mcrypt_create_iv to support PHP 7.2 (and add travis-ci tests for new PHP versions)

defuse opened this issue · comments

This is urgent, since some users are wanting to upgrade to 7.2.

Actually this has already been done!

I was looking at this as my IDE highlighted that mcrypt_create_iv function as depricated.
Maybe a comment above those functions along the lines of // PHP 7.2+ and // Fallback for PHP < 7.2 could be added for immediate clarity?