MCPcopy Create free account
hub / github.com/dataease/SQLBot / verify_md5pwd

Function verify_md5pwd

backend/common/core/security.py:36–37  ·  view source on GitHub ↗
(plain_password: str, md5_password: str)

Source from the content-addressed store, hash-verified

34 return m.hexdigest()
35
36def verify_md5pwd(plain_password: str, md5_password: str) -> bool:
37 return md5pwd(plain_password) == md5_password
38
39def default_pwd() -> str:
40 return settings.DEFAULT_PWD

Callers 2

pwdUpdateFunction · 0.90
authenticateFunction · 0.90

Calls 1

md5pwdFunction · 0.85

Tested by

no test coverage detected