This is a simple .Net 8 (C#) console application that securely deletes files and folders from your computer. This application uses the SecureDelete library to overwrite the files and folders multiple times before deleting them.
The following protocols are available for deleting files:
- Gutmann
- DoD 7-pass
- Overwrite Zeros
- Overwrite Ones
- Overwrite Random (Shred)
The application will randomly encrypt the files with AES 256 before deleting them following one of the above protocols.
Simply execute the following command:
SecureDelete.exe [/debug] [/protocol gutmann|dod7|zeros|ones|random]]
- /debug: This is an optional parameter that will display additional information about the files being deleted.
- /protocol: This is an optional parameter that specifies the protocol to use when deleting the files. The default is "random".
- dod7: DoD 7-pass protocol (5220.22-M): Overwrites the file 7 times with different patterns.
- gutmann: Gutmann protocol: Overwrites the file 35 times with different patterns.
- zeros: Overwrites the file with zeros.
- ones: Overwrites the file with ones.
- random: Overwrites the file with random data.
I've included a test client application in this project, but here is is an elaboration on how to use each of the methods.
This is available as a NuGet package here: Nuget.org
- 2025/01/03
- Initial commit