Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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]
[shmem]: .oO( just to escape The Wheel... )
[shmem]: since that's already done. I'm not!
[karlgoethebier]: shmem: something went wrong today?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-06-25 19:48 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (569 votes). Check out past polls.