[Haskell-cafe] cryptography in haskell

Patrick Mylund Nielsen haskell at patrickmylund.com
Sun Feb 8 01:01:29 UTC 2015


On Sat, Feb 7, 2015 at 6:54 PM, Roman Cheplyaka <roma at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150207/9af9e292/attachment.html>


More information about the Haskell-Cafe mailing list