MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / pbkdf2_hash

Function pbkdf2_hash

Scripts/Developer Base/Free Internet.py:809–810  ·  view source on GitHub ↗
(password: str, salt: bytes, iterations: int = 260_000)

Source from the content-addressed store, hash-verified

807
808
809def 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
813def set_vault_password(password: str) -> None:

Callers 2

set_vault_passwordFunction · 0.70
verify_vault_passwordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected