Skip to content

Changed generate_password_hash from sha256 to scrypt#2

Open
raymaslanka wants to merge 1 commit intodo-community:masterfrom
raymaslanka:password_hash_correction
Open

Changed generate_password_hash from sha256 to scrypt#2
raymaslanka wants to merge 1 commit intodo-community:masterfrom
raymaslanka:password_hash_correction

Conversation

@raymaslanka
Copy link

generate_password_hash no longer supports the sha256 method

The following methods are now supported:

scrypt, the default. The parameters are n, r, and p, the default is scrypt:32768:8:1. See hashlib.scrypt().

pbkdf2, less secure. The parameters are hash_method and iterations, the default is pbkdf2:sha256:600000. See hashlib.pbkdf2_hmac().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant