http://www.perlmonks.org?node_id=525667


in reply to Secure delete ie shred a file

i've done this before by first encrypting the file with a temporary key, write it back to disk, then delete the file. the file is still recoverable by commercial utilities, but not the information.