MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / Decrypt

Method Decrypt

pkg/encryption/cipher.go:15–15  ·  view source on GitHub ↗
(ciphertext []byte)

Source from the content-addressed store, hash-verified

13type Cipher interface {
14 Encrypt(value []byte) ([]byte, error)
15 Decrypt(ciphertext []byte) ([]byte, error)
16}
17
18type base64Cipher struct {

Callers 10

DecodeSessionStateFunction · 0.65
decryptFunction · 0.65
runEncryptAndDecryptFunction · 0.65
TestGCMtoCFBErrorsFunction · 0.65
TestCFBtoGCMErrorsFunction · 0.65
DecryptMethod · 0.65

Implementers 3

base64Cipherpkg/encryption/cipher.go
cfbCipherpkg/encryption/cipher.go
gcmCipherpkg/encryption/cipher.go

Calls

no outgoing calls

Tested by 7

runEncryptAndDecryptFunction · 0.52
TestGCMtoCFBErrorsFunction · 0.52
TestCFBtoGCMErrorsFunction · 0.52