Skip to content
Snippets Groups Projects
Commit f7e8c7db authored by Andreas Gohr's avatar Andreas Gohr
Browse files

adjust default bcrypt iterations to 10. fixes #2093

parent c99d7c88
No related branches found
No related tags found
No related merge requests found
......@@ -530,7 +530,7 @@ class PassHash {
* @throws Exception
* @return string Hashed password
*/
public function hash_bcrypt($clear, $salt = null, $compute = 8) {
public function hash_bcrypt($clear, $salt = null, $compute = 10) {
if(!defined('CRYPT_BLOWFISH') || CRYPT_BLOWFISH != 1) {
throw new Exception('This PHP installation has no bcrypt support');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment