MCPcopy Index your code
hub / github.com/kopia/kopia / authenticatedEncryptionProtection

Struct authenticatedEncryptionProtection

internal/cacheprot/storage_protection.go:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72type authenticatedEncryptionProtection struct {
73 e encryption.Encryptor
74}
75
76func (p authenticatedEncryptionProtection) deriveIV(id string) []byte {
77 contentID := sha256.Sum256([]byte(id))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected