Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ ValidatePasswordAndHash
Function
ValidatePasswordAndHash
common/crypto.go:28–31 ·
view source on GitHub ↗
(password string, hash string)
Source
from the content-addressed store, hash-verified
26
}
27
28
func
ValidatePasswordAndHash(password string, hash string) bool {
29
err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(password))
30
return
err == nil
31
}
Callers
2
checkUpdatePassword
Function · 0.92
ValidateAndFill
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected