Please enable JavaScript.
Coggle requires JavaScript to display documents.
image Password Encryption ( image $salt (string (minimum (22 characters)…
Password Encryption
crypt()
function
2 arguments
$password
$hashFormat
$salt
optional
recommended
encryption
weak without it
string
any
minimum
22 characters
format
blowfish
"$2y$10$
#
2y
version
10
number of iterations
concatenate
$salt
$hashAndSalt
final form
$encript_password = crypt($password, $hashF_and_salt);