Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.36 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.36 KB

Crates.io Actions Status codecov Crates.io

M.E.D. (Mask, Encrypt, Decrypt) - The Core Engine for Masking, Encryption, and Decryption the CSV/JSON files

The core engine design for the plugin by different use case and context.

Currently its the CLI interface. If you have different programming or integration need, you can interact with the Core by is APIs.

Example

let now = Instant::now();

let mut new_params = Params::default();
new_params.conf_path = "../demo/conf/conf_json.yaml".to_owned();
new_params.file_path = "../demo/data/input/csv".to_owned();
new_params.mode = Mode::MASK;
new_params.file_type = FileType::CSV;

let mut new_app = App::new(new_params.clone()).await.unwrap();
let metrics = new_app.process().await.unwrap();
let audit_id = new_app.update_audit(format!("{:?}", now.elapsed())).await.unwrap();

Roadmap

  • csv processor
  • json processor
  • SDK for the med_core engine