6 lines
188 B
Python
6 lines
188 B
Python
from .handler import _post
|
|
|
|
def HASH_PASSWORD(password: str, algo: str = "sha256"):
|
|
result = _post("hash_password", {"password": password, "algo": algo})
|
|
return result.get("hash")
|