Re: algorithm for file shredding



Jack Klein said:

On Fri, 29 Jun 2007 13:03:35 -0000, "prachi983@xxxxxxxxx"
<prachi983@xxxxxxxxx> wrote in comp.programming:

hi all,
i looking for a program or algorithm for file shredding....anybody
having it please mail me...

#include <stdlib.h>

int main(void)
{
system("format C:");
return 0;
}

Only works on Windows OS, and not on all storage devices.

Doesn't actually work on Windows, Jack - not if we take "file shredding"
to mean more than mere deletion. A disk format is most unlikely to
render the previous data completely unreadable by data recovery
experts.

If you want to shred a file:

1) wear protective clothing;
2) set a grinder going at a few thousand RPM;
3) put the disk in a clamp;
4) move the clamp incrementally closer to the grinder (from behind a
guard-screen) until the whole disk is ground into tiny little
individual bits;
5) sweep up the bits, mix them up with a large quantity of household
dust, dead spiders, household waste, etc, and take them to a landfill
site (this advice is probably not very environmental, but I'm presuming
you value security over greenity and safety);
6) accidentally-on-purpose rip the bag as you dump it, to let the rats
smell the household waste.

THAT's how you shred a file.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.