MCPcopy Index your code
hub / github.com/getsops/sops / Decrypt

Method Decrypt

sops_test.go:35–40  ·  view source on GitHub ↗
(value string, key []byte, path string)

Source from the content-addressed store, hash-verified

33 return reverse(string(b)), nil
34}
35func (c reverseCipher) Decrypt(value string, key []byte, path string) (plaintext interface{}, err error) {
36 if value == "error" {
37 return nil, fmt.Errorf("Error")
38 }
39 return reverse(value), nil
40}
41
42type encPrefixCipher struct{}
43

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.85

Tested by

no test coverage detected