Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ TwoHashPwd
Function
TwoHashPwd
internal/model/user.go:243–245 ·
view source on GitHub ↗
(password string, salt string)
Source
from the content-addressed store, hash-verified
241
}
242
243
func
TwoHashPwd(password string, salt string) string {
244
return
HashPwd(StaticHash(password), salt)
245
}
246
247
func
(u *User) WebAuthnID() []byte {
248
bs := make([]byte, 8)
Callers
2
initUser
Function · 0.92
SetPassword
Method · 0.85
Calls
2
HashPwd
Function · 0.85
StaticHash
Function · 0.85
Tested by
no test coverage detected