You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't rely on it. In library is used PASSWORD_DEFAULT which is bcrypt. But from php 7.2 it is argon2.
In php documentation is recommended 255 chars for password_hash. So encrypt 255 chars and output string length is what you need
The password default didn't change with PHP 7.2, Argon2 has just been introduced as an additional option. Password defaults can only change to an algorithm that's been in the language for more than two years, so earliest with PHP 7.4.
It's probably best to go with a variable width field of 255 bytes encrypted, yes.
The hashAndEncrypt function will always return a 288 character string - is that correct?
Just for my database field.
The text was updated successfully, but these errors were encountered: