docwhiz / generate_keys.py
Anirudh1993's picture
Reload
0ee8cbb verified
raw
history blame contribute delete
314 Bytes
# -*- coding: utf-8 -*-
import pickle
from pathlib import Path
import streamlit_authenticator as stauth
names = ['mlreply']
usernames = ['docwhiz']
passwords = ['Docwhiz']
hashed_passwords = stauth.Hasher((passwords)).generate()
with open('hashed_password.pkl','wb') as f:
pickle.dump(hashed_passwords, f)