summaryrefslogtreecommitdiff
path: root/passlib/apps.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2015-07-25 14:00:23 -0400
committerEli Collins <elic@assurancetechnologies.com>2015-07-25 14:00:23 -0400
commit23b8945f00e7a296445e7bea29426f94ec6c1c8a (patch)
tree9b5b0a2d33a4b32598ee17f988c14e5c41d7298a /passlib/apps.py
parent7669a1d7a43ea2aa65363d3fd4bd101b22b50813 (diff)
downloadpasslib-23b8945f00e7a296445e7bea29426f94ec6c1c8a.tar.gz
retuned/updated default rounds settings for all hashes
Diffstat (limited to 'passlib/apps.py')
-rw-r--r--passlib/apps.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/passlib/apps.py b/passlib/apps.py
index da5f2b0..ceb5e1f 100644
--- a/passlib/apps.py
+++ b/passlib/apps.py
@@ -77,12 +77,12 @@ custom_app_context = LazyCryptContext(
all__vary_rounds = 0.1,
# set a good starting point for rounds selection
- sha512_crypt__min_rounds = 60000,
- sha256_crypt__min_rounds = 80000,
+ sha512_crypt__min_rounds = 535000,
+ sha256_crypt__min_rounds = 535000,
# if the admin user category is selected, make a much stronger hash,
- admin__sha512_crypt__min_rounds = 120000,
- admin__sha256_crypt__min_rounds = 160000,
+ admin__sha512_crypt__min_rounds = 1024000,
+ admin__sha256_crypt__min_rounds = 1024000,
)
#=============================================================================