The HsOpenSSL package

[ Tags: cryptography, library, public-domain ] [ Propose Tags ]

HsOpenSSL is an OpenSSL binding for Haskell. It can generate RSA and DSA keys, read and write PEM files, generate message digests, sign and verify messages, encrypt and decrypt messages. It has also some capabilities of creating SSL clients and servers.

Please note that this project has started at the time when there were no pure-Haskell implementations of TLS. Now there is tls package (, which looks pretty saner than HsOpenSSL especially for initialisation and error handlings. So PHO (the initial author of HsOpenSSL) highly encourages you to use and improve the tls package instead as long as possible.


Versions 0.1, 0.1.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.8,,, 0.9,, 0.10, 0.10.1,,,,, 0.10.2,, 0.10.3,,,,,,, 0.10.4, 0.10.5, 0.11, 0.11.1,, 0.11.2,,,,, 0.11.3,,, 0.11.4,,,,,,,,,,,,,
Change log NEWS
Dependencies base (==4.*), bytestring, ghc-prim, integer, integer-gmp (==0.*), network (>=, old-locale, time (>=1.1.1 && <1.5) [details]
License PublicDomain
Author Adam Langley, Mikhail Vorozhtsov, PHO, Taru Karttunen
Maintainer PHO <pho at cielonegro dot org>
Category Cryptography
Home page
Bug tracker
Source repo head: git clone git://
Uploaded Tue Apr 24 14:57:10 UTC 2012 by MasatakeDaimon
Updated Fri Dec 19 12:36:40 UTC 2014 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 38894 total (310 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees