initial commit

This commit is contained in:
CamelAIorg 2025-07-29 23:57:16 +08:00
commit f6dd426830
1145 changed files with 102834 additions and 0 deletions

View file

@ -0,0 +1,11 @@
from passlib.context import CryptContext
password = CryptContext(schemes=["bcrypt"], deprecated="auto")
def password_hash(password_value: str):
return password.hash(password_value)
def password_verify(password_value: str, password_hash: str):
return password.verify(password_value, password_hash)