Selaa lähdekoodia

lower memory requirement for Argon2ID

Miraty 9 kuukautta sitten
vanhempi
commit
72c688e701
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      fn/auth.php

+ 2 - 2
fn/auth.php

@@ -9,8 +9,8 @@ const PLACEHOLDER_PASSWORD = '••••••••••••••••
 // Password storage security
 // Password storage security
 const ALGO_PASSWORD = PASSWORD_ARGON2ID;
 const ALGO_PASSWORD = PASSWORD_ARGON2ID;
 const OPTIONS_PASSWORD = [
 const OPTIONS_PASSWORD = [
-	'memory_cost' => 65536,
-	'time_cost' => 4,
+	'memory_cost' => 8192,
+	'time_cost' => 2,
 	'threads' => 64,
 	'threads' => 64,
 ];
 ];