From 8f0a1a5c4b1ce2989b85284860738e3a9466c2fb Mon Sep 17 00:00:00 2001 From: Mitja HORVAT Date: Sun, 14 Nov 2021 09:08:43 +0100 Subject: [PATCH] python: Increase the argon2 hash length: 64 -> 128 bytes Warning: This affects password generation, but is hopefully the last change to do so. --- python/passgeny/passgeny.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/passgeny/passgeny.py b/python/passgeny/passgeny.py index 0e4a963..1ae0299 100644 --- a/python/passgeny/passgeny.py +++ b/python/passgeny/passgeny.py @@ -26,7 +26,7 @@ PASSGENY_ARGON2_TIME_COST = 6 # Number of parallel threads PASSGENY_ARGON2_PARALLEL = 4 # Hash length - 512 bits by default -PASSGENY_ARGON2_HASH_LEN = 64 +PASSGENY_ARGON2_HASH_LEN = 128 class PassgenyInvalidPattern(Exception): pass