aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2017-08-27 16:18:54 +0200
committerAndreas Gohr <andi@splitbrain.org>2017-08-27 16:19:24 +0200
commitf7e8c7dbeb2d38df8a31048a49e869a4873102e9 (patch)
tree82f53f8ae9d43b9db98ca3d1a436a3a22e9557d8
parentc99d7c88ba37664dcecbcf186347f5c387a31155 (diff)
downloaddokuwiki-f7e8c7dbeb2d38df8a31048a49e869a4873102e9.tar.gz
dokuwiki-f7e8c7dbeb2d38df8a31048a49e869a4873102e9.zip
adjust default bcrypt iterations to 10. fixes #2093
-rw-r--r--inc/PassHash.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/PassHash.class.php b/inc/PassHash.class.php
index d24cc75e5..54b918984 100644
--- a/inc/PassHash.class.php
+++ b/inc/PassHash.class.php
@@ -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');
}