I implemented my own version of an aes-cipher in java to have a platform independent encryption application that is not dependent on the available ciphers in the jvm in use.
This application should use this cipher to encrypt a file and store it on the hard drive.
The problem: Delete files in such a way that they cannot be restored
The user now has to be able to safely delete his original file, so it cannot be restored without knowing the encryption key. In order to do so, the app would have to overwrite the file multiple times with random data and finally delete it from the system.
But Windows for example hinders me with another pitfall to secure the encrypted data. Starting with Windows Server 2003 the Shadow Copy technology is in use. So older Versions of the deleted file can still be hidden away by Windows.
My questions are now:
- Are there similar technologies in use for Mac or Linux Mint/Ubuntu?
- Is there some (platform independent) way to delete files with no possibility to restore them?