python: Increase the argon2 hash length: 64 -> 128 bytes
Warning: This affects password generation, but is hopefully the last change to do so.
This commit is contained in:
@ -26,7 +26,7 @@ PASSGENY_ARGON2_TIME_COST = 6
|
|||||||
# Number of parallel threads
|
# Number of parallel threads
|
||||||
PASSGENY_ARGON2_PARALLEL = 4
|
PASSGENY_ARGON2_PARALLEL = 4
|
||||||
# Hash length - 512 bits by default
|
# Hash length - 512 bits by default
|
||||||
PASSGENY_ARGON2_HASH_LEN = 64
|
PASSGENY_ARGON2_HASH_LEN = 128
|
||||||
|
|
||||||
class PassgenyInvalidPattern(Exception):
|
class PassgenyInvalidPattern(Exception):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user