generate_hash.py
from streamlit_authenticator.utilities.hasher import Hasher
1) Provide the plaintext passwords in a list
plaintext_passwords = [“mysecretpass”]
2) Generate the hashed passwords
hashed_passwords = Hasher(plaintext_passwords).generate()
3) Print them out
print(hashed_passwords)
why is this error popping up?
Octave
2
Hello ! What version of streamlit-authenticator are you using ?
In v0.4.1, the method generate has been removed. If you want to use it, you should install v0.3.3 with :
pip install streamlit-authenticator~=0.3.3
Your code should work with this version
system
Closed
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.