From 31bd245ac2a3a9b20caedc43a3461f4b4981f288 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 10 May 2016 15:33:10 -0700 Subject: [PATCH] Update default hash storage settings Update the default hash settings to align output length and hash block size. Bug: T127445 Bug: T116030 Change-Id: I8419ec9db28eba5868d3a9ee9542d998bfde920b --- includes/DefaultSettings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 61fec6e..5a21bf5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4438,9 +4438,9 @@ $wgPasswordConfig = array( ), 'pbkdf2' => array( 'class' => 'Pbkdf2Password', - 'algo' => 'sha256', - 'cost' => '10000', - 'length' => '128', + 'algo' => 'sha512', + 'cost' => '30000', + 'length' => '64', ), ); -- 2.8.2