MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / is_password_hashed

Function is_password_hashed

core/utils.py:133–137  ·  view source on GitHub ↗

检查密码是否已经是哈希格式

(password: str)

Source from the content-addressed store, hash-verified

131
132
133def is_password_hashed(password: str) -> bool:
134 """
135 检查密码是否已经是哈希格式
136 """
137 return password.startswith("sha256$") and len(password.split("$")) == 3
138
139
140async def sanitize_filename(filename: str) -> str:

Callers 2

prepare_security_configFunction · 0.90
update_configMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected