Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Secure delete ie shred a file

by emazep (Priest)
on Jan 27, 2006 at 07:37 UTC ( #525923=note: print w/replies, xml ) Need Help??

in reply to Re: Secure delete ie shred a file
in thread Secure delete ie shred a file

i've done this before by first encrypting the file with a temporary key
Why 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.


And overwriting the file with a fixed pattern would be even better! ;-)


Replies are listed 'Best First'.
Re^3: Secure delete ie shred a file
by cyclist38 (Hermit) on Jan 27, 2006 at 12:43 UTC
    nice point actually - never thought about using random bytes. ++

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525923]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-10-23 22:27 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.