(password: str, salt: bytes, iterations: int = 260_000)
| 807 | |
| 808 | |
| 809 | def pbkdf2_hash(password: str, salt: bytes, iterations: int = 260_000) -> bytes: |
| 810 | return hashlib.pbkdf2_hmac("sha256", password.encode("utf-8"), salt, iterations) |
| 811 | |
| 812 | |
| 813 | def set_vault_password(password: str) -> None: |
no outgoing calls
no test coverage detected