Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daodst/chat
/ ECCDecrypt
Function
ECCDecrypt
new_feature/key_func.go:106–109 ·
view source on GitHub ↗
(ct []byte, prk ecies.PrivateKey)
Source
from the content-addressed store, hash-verified
104
}
105
106
func
ECCDecrypt(ct []byte, prk ecies.PrivateKey) ([]byte, error) {
107
pt, err := prk.Decrypt(ct, nil, nil)
108
return
pt, err
109
}
Callers
2
Decode
Function · 0.85
ServerDecode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected