Crypto stuff using OpenSSL cryptographic library

Version on this page:0.5
LTS Haskell 21.13:0.7
Stackage Nightly 2023-09-27:0.7
Latest on Hackage:0.7

See all snapshots cryptonite-openssl appears in

BSD-3-Clause licensed by Vincent Hanquez
Maintained by
This version can be pinned in stack with:cryptonite-openssl-0.5@sha256:e73993511df1bc11ba7f7fce4cf3458570de1d4af9898feffb17756fc2d7c045,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