aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-09-22 00:15:40 +0200
committerKevin Chabowski <kevin@kch42.de>2011-09-22 00:15:40 +0200
commit4bdd685ba9d04313622147f4412a7f99b058d8b5 (patch)
tree67028caeff4a7aa9920553ab09db1abd246feef0
parent8311cba002dfcaf1836530b978f944f7228ac004 (diff)
downloadratatoeskr-cms-4bdd685ba9d04313622147f4412a7f99b058d8b5.tar.gz
ratatoeskr-cms-4bdd685ba9d04313622147f4412a7f99b058d8b5.tar.bz2
ratatoeskr-cms-4bdd685ba9d04313622147f4412a7f99b058d8b5.zip
Increased security of PasswordHash
-rw-r--r--ratatoeskr/sys/pwhash.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ratatoeskr/sys/pwhash.php b/ratatoeskr/sys/pwhash.php
index 69ec837..8ec4762 100644
--- a/ratatoeskr/sys/pwhash.php
+++ b/ratatoeskr/sys/pwhash.php
@@ -11,7 +11,7 @@
*/
/*
- * Class:PasswordHash
+ * Class: PasswordHash
* Contains static functions for password hashes.
* Is just used as a namespace, can not be created.
*
@@ -23,8 +23,8 @@ class PasswordHash
private static $saltlen_min = 20;
private static $saltlen_max = 30;
- private static $iterations_min = 5;
- private static $iterations_max = 10;
+ private static $iterations_min = 200;
+ private static $iterations_max = 1000;
private static function hash($data, $salt, $iterations)
{