mkhorasani / Streamlit-Authenticator

A secure authentication module to validate user credentials in a Streamlit application.
Apache License 2.0
1.38k stars 229 forks source link

Use of external hash function #38

Closed taimaruuu closed 1 year ago

taimaruuu commented 1 year ago

Is there a way to use a different hashing function such as argon2?

mkhorasani commented 1 year ago

Hi @taimaruuu, not currently as it stands. However, please feel free to modify the source code to accommodate this hashing algorithm, specifically you can refer to lines 52-77 in authenticate.py to do so. Thanks.