martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
687 stars 79 forks source link

Add multiple wipe method & PRNG #332

Open noojn opened 3 years ago

noojn commented 3 years ago

It would be cool to see more wipe method / prng added, because now we only have a few choice for prng and wiping method, for example you can try adding those wipe method:

Bruce Schneier: (7 passes) first pass with ones, the second pass with zeroes and then five times with random data

Russian GOST P50739-95 (2 passes): first pass with zeroes followed by a single pass of a random byte.

etc.

With those method added, nwipe will have almost the same number of methods as Eraser, the Schneier and GOST methods are already available on Eraser. Same for the PRNG, Mersenne and ISAAC are both old, maybe adding new PRNG will make nwipe very different from dban and people will start using it more than dban

It's up to you to decide if you want to add new methods. Anyway, congratulations for this project, I really respect your work. keep it up!!!

PartialVolume commented 3 years ago

Thanks for your encouragement, I've no issues adding more methods and PRNG's, it's just a matter of finding some time. Busy in the day job at the moment.

I need to slightly reorganise the layout before adding more methods. The method info will probably move to the right hand side of the screen in its own 'Info' box, in that way we can extend the methods down the left side with a scrollable feature. Before I do any of that though my next job will be adding a enhancement that produces a pdf certificate for each wipe, something I always wanted.

BigPanda97 commented 1 year ago

maybe adding new PRNG will make nwipe very different from dban and people will start using it more than dban

I would suggest adding ChaCha20 (streamcipher) and AES-256 (blockcipher, use in CTR-mode) as new PRNG. Both are very fast, very secure and should be easy to add because many source codes of it are available.

PartialVolume commented 1 year ago

Anybody that is looking for a small project, is more than welcome to submit a pull request for new PRNGs. After completing the PDF report which I'm just about to release, my focus will then then be on ATA and NvME secure erase so I don't have the time at the moment to work on this

So anybody that wants to study the code and add a new PRNG please submit your code via a pull request for review.

PartialVolume commented 1 year ago

maybe adding new PRNG will make nwipe very different from dban and people will start using it more than dban

I would suggest adding ChaCha20 (streamcipher) and AES-256 (blockcipher, use in CTR-mode) as new PRNG. Both are very fast, very secure and should be easy to add because many source codes of it are available.

Just putting this link here as a reminder https://github.com/Ginurx/chacha20-c