Initial commit

This commit is contained in:
shahzeydyfah
2024-02-15 00:17:51 +03:30
commit 4b0396466d
111 changed files with 6296 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from passlib.context import CryptContext
context = CryptContext(schemes=["bcrypt"], deprecated="auto")
def verify_password(plain_password, hashed_password):
return context.verify(plain_password, hashed_password)
def get_password_hash(password):
return context.hash(password)