mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
462fef794f
This will cause an error in the case where invalid salts are provided for other algorithms. Currently, these invalid salts will silently fall back to STD_DES which is extremely weak. By detecting invalid DES salts, we can alert the user that there is a bug in their code. The error is currently E_DEPRECATED as this has potential to break currently working (yet insecure) code. In the future it should be changed to an E_WARNING and return *0 |
||
---|---|---|
.. | ||
bcrypt_invalid_algorithm.phpt | ||
bcrypt_invalid_cost.phpt | ||
des_fallback_invalid_salt.phpt |