Skip to content
Discussion options

You must be logged in to vote

I did not think of searching in Python documentation before asking the question, which would lead to the information that the standard Python library provides what is needed for password hashing:

  • crypt points to bcrypt (and some other options);

  • bcrypt points back to Python standard library: hashlib.scrypt (among other options; and crypt mentioned above also points to hashlib):

    Acceptable password hashing for your software and your servers (but you should really use argon2id or scrypt)

    While bcrypt remains an acceptable choice for password storage, depending on your specific use case you may also want to consider using scrypt (either via standard library or cryptography) [..]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eandersons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants