aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/bcrypt/__init__.pyi
blob: 12e4a2ef403317a97b32005dcd6de1232a93a548 (about) (plain)
1
2
3
4
5
6
7
8
9
10
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: ...