MCPcopy
hub / github.com/wal-g/wal-g / Crypter

Interface Crypter

internal/crypto/crypter.go:6–10  ·  view source on GitHub ↗

Crypter is responsible for making cryptographical pipeline parts when needed

Source from the content-addressed store, hash-verified

4
5// Crypter is responsible for making cryptographical pipeline parts when needed
6type Crypter interface {
7 Name() string
8 Encrypt(writer io.Writer) (io.WriteCloser, error)
9 Decrypt(reader io.Reader) (io.Reader, error)
10}

Callers 24

GetFilesMethod · 0.65
CompressAndEncryptFunction · 0.65
startUploadMethod · 0.65
EncryptMethod · 0.65
EncryptionCycleFunction · 0.65
EncryptMethod · 0.65
EncryptionCycleFunction · 0.65
EncryptMethod · 0.65
EncryptMethod · 0.65
DecryptAndDecompressTarFunction · 0.65
DecryptBytesFunction · 0.65

Implementers 5

Crypterinternal/crypto/envelope/openpgp/crypt
Crypterinternal/crypto/openpgp/crypter.go
Crypterinternal/crypto/awskms/crypter.go
YcCrypterinternal/crypto/yckms/crypter.go
Crypterinternal/crypto/libsodium/crypter.go

Calls

no outgoing calls

Tested by

no test coverage detected