Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LagrangeDev/LagrangeGo
/ SHA1Digest
Function
SHA1Digest
utils/crypto/hash.go:25–29 ·
view source on GitHub ↗
(v []byte)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
SHA1Digest(v []byte) []byte {
26
h := sha1.New()
27
h.Write(v)
28
return
h.Sum(make([]byte, 0, sha1.Size))
29
}
30
31
// form MiraiGo
32
Callers
nothing calls this directly
Calls
1
Write
Method · 0.45
Tested by
no test coverage detected