Files
baijiahao_data_crawl/venv/Lib/site-packages/bcrypt/__init__.pyi
“shengyudong” 322ac74336 2025-12-25 upload
2025-12-25 11:16:59 +08:00

11 lines
333 B
Python

def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes: ...
def hashpw(password: bytes, salt: bytes) -> bytes: ...
def checkpw(password: bytes, hashed_password: bytes) -> bool: ...
def kdf(
password: bytes,
salt: bytes,
desired_key_bytes: int,
rounds: int,
ignore_few_rounds: bool = False,
) -> bytes: ...