src/bcrypt/__init__.pyi
raw| 1 | def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes: ... |
| 2 | def hashpw(password: bytes, salt: bytes) -> bytes: ... |
| 3 | def checkpw(password: bytes, hashed_password: bytes) -> bool: ... |
| 4 | def kdf( |
| 5 | password: bytes, |
| 6 | salt: bytes, |
| 7 | desired_key_bytes: int, |
| 8 | rounds: int, |
| 9 | ignore_few_rounds: bool = False, |
| 10 | ) -> bytes: ... |