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

Struct nullCipher

enterprise/cli/server_dbcrypt_test.go:446–446  ·  view source on GitHub ↗

nullCipher is a dbcrypt.Cipher that does not encrypt or decrypt. used for testing

Source from the content-addressed store, hash-verified

444// nullCipher is a dbcrypt.Cipher that does not encrypt or decrypt.
445// used for testing
446type nullCipher struct{}
447
448func (*nullCipher) Encrypt(b []byte) ([]byte, error) {
449 return b, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected