Custom Erase is a secure file deletion algorithm designed to permanently erase data on traditional HDDs by overwriting file contents using advanced patterns.
On SSDs, overwrite techniques are less effective due to internal block remapping and wear leveling. For guaranteed erasure, hardware-based Secure Erase or vendor-specific tools are recommended. These limitations on SSDs are inherent to the hardware architecture and affect all overwrite-based erasure tools — not just Custom Erase. For critical sanitization, refer to NIST 800-88 guidelines or manufacturer tools supporting ATA Secure Erase or NVMe Format NVM commands..
- ✅ Fully documented C# source code of the algorithm
- ✅ Visual Studio project to build the CustomEraser.dll
- ✅ A sleek sample app (CustomTest) showing how to securely erase any file
- ✅ Built-in SHA-256 hash verification & PGP digital signatures for rock-solid authenticity
- Visual Studio 2019 or newer
- .NET Framework 4.8
- Unzip
CustomEraserdll.zip. - Open
CustomEraser.csprojin Visual Studio. - Build in Release mode.
- Find your
CustomEraser.dllinbin\Release.
Check out the CustomTest demo app that shows:
- How to reference the DLL in your C# projects
- Passing a file path to securely erase it
- Handling success or failure notifications
Every official release includes:
.sigfile with the PGP digital signature.sha256checksum file
Verify your downloads for guaranteed integrity & authenticity.
Licensed under the GNU GPL v3.0 or later — see the LICENSE file for details.
Grab the full package here:
https://github.com/Mariano-28/CustomEraseAlgorithm
Mariano Ortu
🌐 sicurpas.it
📧 sicurpas@sicurpas.it
"Secure erasure is a right for those who work with responsibility. Custom Erase guarantees that right."
🔐 PGP Public Key
- 👤 Name: Mariano Ortu
- 🆔 Key ID: 8E0270DF
- 🔍 Fingerprint: 6F52 CE06 F752 74C6 3CBD 8E9D FC8E 9FB8 8E02 70DF
Thank you for trusting Custom Erase! 🚀✨
