File size: 313 Bytes
fa2034d
 
 
 
 
 
ef25755
fa2034d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- 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)