On Sat, Feb 7, 2015 at 6:54 PM, Roman Cheplyaka <roma@ro-che.info> wrote:
On 07/02/15 18:53, Patrick Mylund Nielsen wrote:
> (Another small issue is that it's not easy to erase something, e.g. a
> private key, from memory in Haskell, so they may stick around for some
> time. This isn't a big deal as long as your application's memory isn't
> swapped to disk.)

https://hackage.haskell.org/package/securemem

Now consider how you'd construct and use a SecureMem without copying your secret all over memory. Again, not a big issue, but it's trickier in garbage-collected languages.