Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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! ;-)


Comment on Re^2: Secure delete ie shred a file
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: (9)
As of 2015-10-13 08:08 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls