0
In the PHP documentation for the function password_hash
has the notice:
Care Using PASSWORD_BCRYPT as algorithm, will result in the parameter password truncated to a maximum length of 72 characters.
That is, if I pass a password with more than 72 characters the function disregards the extra characters of the end
In the question here Sopt How to hash passwords securely, is told by the best answer on bcrypt:
Disadvantages:
[...]
- The password entry is limited to 51 characters. For larger passwords, someone would have to combine bcrypt with a hash function (compute the password hash, and use the output with bcrypt). Combining cryptographic primitives has risks, so this is not recommended for general use.
Doubts:
This is what PHP uses to increase the character limit?
This extra limit brings some security problem?
It can be disabled or swindled?