secrm: Example of writing "secure" file removal in Haskell rather than C.

[ program, public-domain, security ] [ Propose Tags ]

Writes to target file multiple times with random data, then erases it.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.0
Dependencies base (>=2.1.1 && <3), haskell98 [details]
License LicenseRef-PublicDomain
Author Jon Slenk
Maintainer Jon Slenk <>
Category Security
Uploaded by JonSlenk at 2010-09-24T17:52:58Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables secrm
Downloads 967 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 6 reports]

Readme for secrm-0.0

[back to package description]
An example of code to "securely" remove a file from media by over-writing
the file several times with random data, and then erasing it.

Note that this is just an example intended to show that one can write
system utilities in Haskell instead of, say, C. It does not, for example,
guarantee that the underlying OS/FS will be writing the random data over
exactly the same blocks. (In hindsight, perhaps making this not be the best
example. Living and learning, here.)