Skip to content

Secure-Delete v.1.0.0

Latest

Choose a tag to compare

@whisprer whisprer released this 04 Oct 20:25
· 65 commits to main since this release

Secure Delete v0.1.0 — Cross-Platform File Shredder (Rust)

Secure Delete is a fast, lightweight, and truly cross-platform secure file eraser written entirely in Rust.
It performs multi-pass overwriting, random renaming, and final unlinking to ensure that deleted files cannot be easily recovered — all without any external dependencies.

Features

Multi-pass overwrite: Configurable number of passes (--passes N)
Patterns: Choose zeros, ones, or cryptographically secure random data
Chunked I/O: Handles very large files efficiently using 8 MiB streaming writes
Cross-platform: Works natively on Windows, Linux, and macOS
Safety checks: Confirmation prompt (--confirm) to prevent accidental wipes
Final sanitization: Random renaming and unlinking after overwrite
No bloat: Pure Rust + rand crate, no unsafe FFI, no extra dependencies

Example Usage

  • 3-pass random overwrite, with confirmation
    secure_delete secret.zip --passes 3 --pattern random --confirm
  • 1-pass zeros overwrite, no confirmation
    secure_delete tmp.log --pattern zeros

Build Instructions
git clone https://github.com/whisprer/secure-delete.git
cd secure_delete
cargo build --release

Resulting binary:
target/release/secure_delete

Binary Downloads
Precompiled binaries for Windows, Linux, and macOS are provided under the Assets section below.
Download the one for your platform, make it executable (chmod +x secure_delete on Unix), and run it directly.

Notes
This tool securely wipes file contents, not entire drives or free space.
Use responsibly — once erased, recovery is nearly impossible.
Ideal for secure document removal, temporary files, or data hygiene scripts.

License
Hybrid MIT/CC0 License.
Source code © 2025 whisprer.