Password : Blowfish need more salt entropy (25 chars instead of 16)

This commit is contained in:
2023-04-13 22:09:08 +02:00
parent 803d4c3718
commit 8fbd8da199

View File

@@ -30,7 +30,7 @@ class Password
"CRYPT_MD5" => [
"hash" => CRYPT_MD5, "size" => 12, "pre" => "$1$", "post" => "$" ],
"CRYPT_BLOWFISH" => [
"hash" => CRYPT_BLOWFISH, "size" => 16, "pre" => "$2y$11$",
"hash" => CRYPT_BLOWFISH, "size" => 25, "pre" => "$2y$11$",
"post" => "$" ],
"CRYPT_SHA256" => [
"hash" => CRYPT_SHA256, "size" => 16, "pre" => "$5\$rounds=5000$",