MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / initDecrypt

Method initDecrypt

crypto/etls/encrypt.go:119–122  ·  view source on GitHub ↗
(iv []byte)

Source from the content-addressed store, hash-verified

117}
118
119func (c *Cipher) initDecrypt(iv []byte) (err error) {
120 c.decStream, err = c.info.newDecStream(c.key, iv)
121 return
122}
123
124func (c *Cipher) encrypt(dst, src []byte) {
125 c.encStream.XORKeyStream(dst, src)

Callers 1

ReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected