MCPcopy
hub / github.com/learnhouse/learnhouse / security_hash_password

Function security_hash_password

apps/api/src/security/security.py:100–104  ·  view source on GitHub ↗

Hash a password using Argon2.

(password: str)

Source from the content-addressed store, hash-verified

98
99
100def security_hash_password(password: str) -> str:
101 """
102 Hash a password using Argon2.
103 """
104 return password_hash.hash(password)
105
106
107def security_verify_password(plain_password: str, hashed_password: str) -> bool:

Calls 1

hashMethod · 0.80