Password hashing #4176
-
Does Litestar have tools that would help with hashing and checking passwords? I could not find anything in this regard. Or that is something that is left for the developer to decide what to use and how to implement this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, it does not |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
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; andcrypt
mentioned above also points tohashlib
):