Vincent Hanquez has a nice package [`securemem`](http://hackage.haskell.org/package/securemem) which auto-scrubs memory when it goes out of scope. This is really useful for implementing keys.
Vincent Hanquez has a nice package
securememwhich auto-scrubs memory when it goes out of scope. This is really useful for implementing keys.