Download hash_password.py from allinaigc/coder001: direct link, hf CLI and curl.
- Browser
- Download file 145 Bytes
-
https://huggingface.co/spaces/allinaigc/coder001/resolve/main/hash_password.py
- Command line
-
hf download hf://spaces/allinaigc/coder001/hash_password.py
-
curl -L -o hash_password.py https://huggingface.co/spaces/allinaigc/coder001/resolve/main/hash_password.py
145 Bytes
| import streamlit_authenticator as stauth | |
| passwords = ['wuqijun'] | |
| hashed_passwords = stauth.Hasher(passwords).generate() | |
| print(hashed_passwords) | |