MCPcopy Create free account
hub / github.com/AdRoll/baker / Crypt

Struct Crypt

filter/crypt.go:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47type Crypt struct {
48 src baker.FieldIndex
49 dst baker.FieldIndex
50 algorithm cryptAlgorithm
51 transformFn func([]byte) ([]byte, error)
52
53 // Shared state
54 numFilteredLines int64
55}
56
57func NewCrypt(cfg baker.FilterParams) (baker.Filter, error) {
58 dcfg := cfg.DecodedConfig.(*CryptConfig)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected