Jelajahi Sumber

lower memory requirement for Argon2ID

Miraty 10 bulan lalu
induk
melakukan
72c688e701
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      fn/auth.php

+ 2 - 2
fn/auth.php

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