Browse Source

lower memory requirement for Argon2ID

Miraty 10 tháng trước cách đây
mục cha
commit
72c688e701
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,
 ];