MCPcopy Index your code
hub / github.com/coder/coder / Encrypt

Method Encrypt

enterprise/dbcrypt/cipher.go:27–27  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

25
26type Cipher interface {
27 Encrypt([]byte) ([]byte, error)
28 Decrypt([]byte) ([]byte, error)
29 HexDigest() string
30}

Callers 6

EncryptFunction · 0.65
generateBadJWEFunction · 0.65
TestCipherAES256Function · 0.65
TestNewFunction · 0.65
encryptFieldMethod · 0.65

Implementers 2

nullCipherenterprise/cli/server_dbcrypt_test.go
aes256enterprise/dbcrypt/cipher.go

Calls

no outgoing calls

Tested by 3

TestCipherAES256Function · 0.52
TestNewFunction · 0.52