securemem

abstraction to an auto scrubbing and const time eq, memory chunk.

http://github.com/vincenthz/hs-securemem

Version on this page:0.1.5
LTS Haskell 22.18:0.1.10
Stackage Nightly 2024-04-27:0.1.10
Latest on Hackage:0.1.10

See all snapshots securemem appears in

BSD-3-Clause licensed by Vincent Hanquez
Maintained by [email protected]
This version can be pinned in stack with:securemem-0.1.5@sha256:6a2a340c226be6d4c6af8241aa1b3f39bd519b7a5777c3c3f9b5aea09a803f98,1059

Module documentation for 0.1.5

securemem

Build Status BSD Haskell

Securemem provides memory chunks that allow auto-scrubbing of the memory after use, and constant time equality.

Documentation: securemem on hackage

Interacting with securemem

It’s recommended to use the Byteable instance when providing an interface that takes a securemem. It allow legacy code, and work in progress code to interface with securemem more easily.

older base

On older base, the memory is not scrubbed: upgrade your GHC to 7.6.0 or above.

TODO

  • add a custom memory allocator that give mlocked memory chunks.