LLCryptoLib.Shred library contains the functions to wipe
a file from the disk, using a variety of standard algorothms,
such Gutmann or DoD.
Classes
Class | Description | |
---|---|---|
![]() | ShredBase |
Base class for shred methods
|
![]() | ShredComplex |
Rewrites the file area 3 times with 0xFF, 0x00, random bytes
|
![]() | Shredder |
Shredder.
The shredder class is tipically called in this way:
Shredder s = new Shredder(new Random())
FileInfo theFile = new FileInfo(@"C:\temp\log.txt");
IShredMethod method = ShredMethods.Get(AvailableShred.COMPLEX);
if (s.WipeFile(theFile, method, true))
{
log("File shredded.");
}
|
![]() | ShredDOD |
Rewrites the file area 7 times with 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xF6 bytes.
|
![]() | ShredGermanVSITR |
German VSITR shred method.
This shred method overwrites the file area with 0's, 1's and finally a random byte.
|
![]() | ShredGutmann |
Rewrites the file area 35 times with 0x34, 0x12, 0x1B, 0x00, 0x55, 0xAA, 0x24, 0x92,
0x49, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66,
0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE,
0xFF, 0x24, 0x92, 0x49, 0xDB, 0x6D, 0xB6, 0x12,
0xFF, 0x82, 0x9A
|
![]() | ShredHmgEnh |
HMG Infosec Standard 5 Enhanced shred method.
This shred method overwrites the file area with 0's, 1's and finally a random byte.
|
![]() | ShredMethods |
ShredMethod is a struct describing the shredding methods and
a factory of ShredMethod objects.
|
![]() | ShredNothing |
No shred option. It deletes the file with OS delete.
|
![]() | ShredRandom |
Rewrites the file area 5 times with random bytes
|
![]() | ShredSimple |
Rewrites file area one time with 0x00 byte
|
Interfaces
Interface | Description | |
---|---|---|
![]() | IShredMethod |
IShredMethod.
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | AvailableShred |
Available Shredding Methods
|