codekingpro/portable-devtools
115k
1def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes: ...2def hashpw(password: bytes, salt: bytes) -> bytes: ...3def checkpw(password: bytes, hashed_password: bytes) -> bool: ...4def kdf(5 password: bytes,6 salt: bytes,7 desired_key_bytes: int,8 rounds: int,9 ignore_few_rounds: bool = False,10) -> bytes: ...11 