Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ddworken/hishtory
/ UserId
Function
UserId
client/data/data.go:76–78 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
UserId(key string) string {
77
return
base64.URLEncoding.EncodeToString(sha256hmac(key, KdfUserID))
78
}
79
80
func
EncryptionKey(userSecret string) []byte {
81
return
sha256hmac(userSecret, KdfEncryptionKey)
Callers
15
testRequestAndReceiveDbDump
Function · 0.92
deleteHistoryEntry
Function · 0.92
ApiGet
Function · 0.92
ApiPost
Function · 0.92
RetrieveAdditionalEntriesFromRemote
Function · 0.92
ProcessDeletionRequests
Function · 0.92
GetBanner
Function · 0.92
GetAiSuggestionsViaHishtoryApi
Function · 0.92
status.go
File · 0.92
install.go
File · 0.92
registerAndBootstrapDevice
Function · 0.92
switchToOffline
Function · 0.92
Calls
1
sha256hmac
Function · 0.85
Tested by
6
testRequestAndReceiveDbDump
Function · 0.74
TestESubmitThenQuery
Function · 0.74
TestDumpRequestAndResponse
Function · 0.74
TestDeletionRequests
Function · 0.74
TestLimitRegistrations
Function · 0.74
TestCleanDatabaseNoErrors
Function · 0.74