abstraction to an auto scrubbing and const time eq, memory chunk.
|Version on this page:||0.1.9|
|LTS Haskell 20.24:||0.1.10|
|Stackage Nightly 2023-06-08:||0.1.10|
|Latest on Hackage:||0.1.10|
Maintained by email@example.com
This version can be pinned in stack with:
Module documentation for 0.1.9
Depends on 5 packages(full list with versions):
Used by 11 packages in lts-6.35(full list with versions):
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.
On older base, the memory is not scrubbed: upgrade your GHC to 7.6.0 or above.
- add a custom memory allocator that give mlocked memory chunks.