1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #35428 -- Increased parallelism of the ScryptPasswordHasher.

This commit is contained in:
SaJH
2024-05-12 03:32:57 +09:00
committed by Sarah Boyce
parent 50852b2c2c
commit 8f205acea9
3 changed files with 6 additions and 3 deletions

View File

@@ -570,7 +570,7 @@ class ScryptPasswordHasher(BasePasswordHasher):
algorithm = "scrypt"
block_size = 8
maxmem = 0
parallelism = 1
parallelism = 5
work_factor = 2**14
def encode(self, password, salt, n=None, r=None, p=None):