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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user