A Rust library that wipe all file or folder. \ This library includes most of the secure deletion methods of the Eraser for Windows software.
toml
[dependencies]
nozomi = "2.0.0"
shell
cargo install cargo-nextest --locked
shell
git clone https://github.com/Sans-Atout/Nozomi.git
cd Nozomi
chmod +x test.sh
./test.sh
```rust use nozomi; use nozomi::OverwriteMethod::Afssi5020;
fn main() { match nozomi::erasefile("pathto_file", Afssi5020){ Ok(info) => println!("{}",info), Err(error) => println!("{}",error) }; } ```
```rust use nozomi; use nozomi::OverwriteMethod::Afssi5020;
fn main() { match nozomi::erasefolder("pathto_folder", Afssi5020, false){ Ok(info) => println!("{}",info), Err(error) => println!("{}",error) }; } ```
Here are all the methods available and an illustrative diagram for each suppression method.
You can see below an explanation of one brick of the scheme :