Add helper password hash
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
from hashlib import md5
|
||||||
|
|
||||||
|
|
||||||
|
def hash_password(password: str) -> str:
|
||||||
|
return md5(password.encode()).hexdigest()
|
||||||
Reference in New Issue
Block a user