private Dictionary <string, IAnonymizerProcessor> CreateTestProcessors() { KeepProcessor keepProcessor = new KeepProcessor(); RedactProcessor redactProcessor = new RedactProcessor(false, false, false, null); DateShiftProcessor dateShiftProcessor = new DateShiftProcessor("123", "123", false); CryptoHashProcessor cryptoHashProcessor = new CryptoHashProcessor("123"); Dictionary <string, IAnonymizerProcessor> processors = new Dictionary <string, IAnonymizerProcessor>() { { "KEEP", keepProcessor }, { "REDACT", redactProcessor }, { "DATESHIFT", dateShiftProcessor }, { "CRYPTOHASH", cryptoHashProcessor } }; return(processors); }
private Dictionary <string, IAnonymizerProcessor> CreateTestProcessors() { KeepProcessor keepProcessor = new KeepProcessor(); RedactProcessor redactProcessor = new RedactProcessor(false, false, false, null); DateShiftProcessor dateShiftProcessor = new DateShiftProcessor("123", "123", false); CryptoHashProcessor cryptoHashProcessor = new CryptoHashProcessor("123"); EncryptProcessor encryptProcessor = new EncryptProcessor("1234567890123456"); SubstituteProcessor substituteProcessor = new SubstituteProcessor(); PerturbProcessor perturbProcessor = new PerturbProcessor(); Dictionary <string, IAnonymizerProcessor> processors = new Dictionary <string, IAnonymizerProcessor>() { { "KEEP", keepProcessor }, { "REDACT", redactProcessor }, { "DATESHIFT", dateShiftProcessor }, { "CRYPTOHASH", cryptoHashProcessor }, { "ENCRYPT", encryptProcessor }, { "SUBSTITUTE", substituteProcessor }, { "PERTURB", perturbProcessor } }; return(processors); }