Crypto stuff using OpenSSL cryptographic library

Version on this page:0.6
LTS Haskell 22.25:0.7
Stackage Nightly 2024-06-13:0.7
Latest on Hackage:0.7

See all snapshots cryptonite-openssl appears in

BSD-3-Clause licensed by Vincent Hanquez
Maintained by [email protected]
This version can be pinned in stack with:cryptonite-openssl-0.6@sha256:06cc956b6a51dfc467daa902aee8edb29ac50b18c48fc0551f9661b7494a49ef,2350


Build Status BSD Haskell

Support for OpenSSL based crypto operations in Haskell, as a bolt-in to cryptonite

If you have no idea what’re you doing, please do not use this directly, rely on higher level protocols or higher level implementation.

Documentation: cryptonite-openssl on hackage


cryptonite-openssl supports the following platform:

  • Windows >= 7
  • OSX >= 10.8
  • Linux

On the following architectures:

  • x86-64
  • i386

On the following haskell versions:

  • GHC 7.0.x
  • GHC 7.4.x
  • GHC 7.6.x
  • GHC 7.8.x
  • GHC 7.10.x

Further platforms and architectures probably works too, but until maintainer(s) don’t have regular access to them, we can’t commit for further support

Building on MacOS X

  • using openssl system library
  • using alternative installation

Building on windows

You need the C++ runtime :

And the right installation of OpenSSL. Some binary installations are available here:

Building with alternative OpenSSL - BoringSSL, LibreSSL