Password : Blowfish need more salt entropy (25 chars instead of 16)
This commit is contained in:
@@ -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$",
|
||||
|
||||
Reference in New Issue
Block a user