From 4bdd685ba9d04313622147f4412a7f99b058d8b5 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 22 Sep 2011 00:15:40 +0200 Subject: Increased security of PasswordHash --- ratatoeskr/sys/pwhash.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ratatoeskr/sys/pwhash.php') 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) { -- cgit v1.2.3-54-g00ecf