Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Secure delete ie shred a fileby emazep (Priest) |
on Jan 27, 2006 at 07:37 UTC ( [id://525923]=note: print w/replies, xml ) | Need Help?? |
i've done this before by first encrypting the file with a temporary keyWhy encrypting the file?! Overwriting the file with random bytes is security-wise the same (or it's even better, since there is no chance that someone could decrypt the file content). And using random bytes is much, much faster and memory efficient than an encryption. Update And overwriting the file with a fixed pattern would be even better! ;-)
Ciao,
In Section
Seekers of Perl Wisdom
|
|