| 45 | } |
| 46 | |
| 47 | type 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 | |
| 57 | func NewCrypt(cfg baker.FilterParams) (baker.Filter, error) { |
| 58 | dcfg := cfg.DecodedConfig.(*CryptConfig) |
nothing calls this directly
no outgoing calls
no test coverage detected