A Rust librairy that wipe all file or folder. \ This library includes most of the secure deletion methods of the Eraser for Windows software.
[dependencies]
nozomi = "1.0.0"
```rust use nozomi;
fn main() { nozomi::erasefile("pathto_file", nozomi::EraserEntity::PseudoRandom); } ```
```rust use nozomi;
fn main() { nozomi::erasefolder("pathto_folder", nozomi::EraserEntity::PseudoRandom); }
```
Here are the methods implemented or to be implemented in this library
| Pass number | Patern | |------------:|-------:| |1|# Random|
| Pass number | Patern | |------------:|-------:| |1|# Random| |2|# Random| |3|# Random| |4|# Random| |5|0x55 0x55 0x55| |6|0xAA 0xAA 0xAA| |7|0x92 0x49 0x24| |8|0x49 0x24 0x92| |9|0x24 0x92 0x49| |10|0x00 0x00 0x00| |11|0x11 0x11 0x11| |12|0x22 0x22 0x22| |13|0x33 0x33 0x33| |14|0x44 0x44 0x44| |15|0x55 0x55 0x55| |16|0x66 0x66 0x66| |17|0x77 0x77 0x77| |18|0x88 0x88 0x88| |19|0x99 0x99 0x99| |20|0xAA 0xAA 0xAA| |21|0xBB 0xBB 0xBB| |22|0xCC 0xCC 0xCC| |23|0xDD 0xDD 0xDD| |24|0xEE 0xEE 0xEE| |25|0xFF 0xFF 0xFF| |26|0x92 0x49 0x24| |27|0x49 0x24 0x92| |28|0x24 0x92 0x49| |29|0x6D 0xB6 0xDB| |30|0xB6 0xDB 0x6D| |31|0xDB 0x6D 0xB6| |32|# Random| |33|# Random| |34|# Random| |35|# Random|
| Pass number | Patern | |------------:|-------:| |1|0x00| |2|# Random|
| Pass number | Patern | |------------:|-------:| |1|0x00| |2|0xFF| |3|# Random | |4|0x00| |5|0x00| |6|0xFF| |7|# Random |
| Pass number | Patern | |------------:|-------:| |1|0x00| |2|0xFF| |3|# Random |
| Pass number | Patern | |------------:|-------:| |1|0x00| |2|0xFF| |3|# Random |
| Pass number | Patern | |------------:|-------:| |1|0x00| |2|0xFF| |3|0x00| |4|0xFF| |5|0x00| |6|0xFF| |7|# Random |