We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972f289 commit 3843bbeCopy full SHA for 3843bbe
core/constants.py
@@ -83,8 +83,8 @@
83
}
84
85
# hash parameters
86
-ARGON2_MEMORY = 256 * 1024 # MB
87
-ARGON2_ITERS = 3
+ARGON2_MEMORY = 1024 * 1024 # MB
+ARGON2_ITERS = 2000
88
ARGON2_OUTPUT_LEN = 32 # bytes
89
ARGON2_SALT_LEN = 16 # bytes (Must be always 16 for interoperability with implementations using libsodium.)
90
ARGON2_LANES = 4
logic/utils.py
@@ -6,7 +6,7 @@ def check_str_high_entropy(s: str) -> bool:
6
return False
7
8
# if string is not all ascii, just assume it has enough entropy.
9
- if not s.ascii():
+ if not s.isascii():
10
return True
11
12
# Check if string is all lowercase or uppercase
0 commit comments