Buckets:

download
raw
389 Bytes
# src/auth_rsha/hashing.py
from passlib.context import CryptContext
_pwd = CryptContext(
schemes=["argon2"],
deprecated="auto",
# можно выставить параметры argon2 если нужно
)
def hash_password(plain: str) -> str:
return _pwd.hash(plain[:512])
def verify_password(plain: str, hashed: str) -> bool:
return _pwd.verify(plain, hashed)

Xet Storage Details

Size:
389 Bytes
·
Xet hash:
dcecd592921035a08d3ab37c9cad87840cdeaa1955d5c542e312afd68461cb01

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.