mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 15:48:33 +02:00
11 lines
333 B
Python
Executable File
11 lines
333 B
Python
Executable File
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: ...
|