Coder Social home page Coder Social logo

shredder's Introduction

Shredder

A file shredder written in nim, that attempts to mimic the DoD 5220.22-M Standard data erasure method.

How it works

  • A file and a number of passes/cycle should be specified (default is 1 pass).
  • A file will be overwritten with zeroes, ones, and then random bytes (a complete cycle/pass).
  • After which, the file will be deleted.

Compile

Windows:

nim c -d=mingw -d:release shredder.nim

Disclaimer

Do note that this tool does not guarantee that your data is 100% erased, though any means of data recovery will still be inconvenient and highly time-consuming. DoD's method as mentioned above is meant for a erasing the entire drive, but this tool only adapts and applies the method on a given file. Moreover, there are many factors that may result in an incomplete data erasure, such as file systems with redundancy, cached data .etc, as mentioned in the official man page for the Linux shred tool. As such, DO NOT use this tool to erase highly sentitive and confidential data.

shredder's People

Contributors

dancinparrot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.