MCPcopy 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
106func ECCDecrypt(ct []byte, prk ecies.PrivateKey) ([]byte, error) {
107 pt, err := prk.Decrypt(ct, nil, nil)
108 return pt, err
109}

Callers 2

DecodeFunction · 0.85
ServerDecodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected