@hackage securemem0.1.6
abstraction to an auto scrubbing and const time eq, memory chunk.
Installation
Dependencies (4)
- base >=4 && <4.11
- byteable >=0.1.1
- bytestring
- ghc-prim Show all…
Dependents (19)
@hackage/cipher-des, @hackage/git-annex, @hackage/hsoz, @hackage/crypto-cipher-tests, @hackage/cipher-blowfish, @hackage/acme-everything, Show all…
securemem
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.


