Modern Haskell Cryptography
C Haskell Objective-C C++ Python PHP Other
Latest commit a501e8e Aug 11, 2014 @thoughtpolice Merge pull request #17 from centromere/doc-refactoring
Refactored the documentation to provide 100% coverage.
Failed to load latest commit information.
scripts ChaCha/20 support. Closes #10. Feb 21, 2014
.gitignore curve25519: use Andrew M's curve25519-donna Mar 7, 2014
.travis.yml Modified GHC versions to test for. Jul 30, 2014
AUTHORS.txt Initial commit. Nov 10, 2013
HLint.hs Fix HLint warnings. Ensure Language = H2010 Feb 5, 2014
LICENSE.txt License switch from MIT -> BSD3 Nov 11, 2013
Setup.hs Initial commit. Nov 10, 2013

Modern Haskell Cryptography

Build Status BSD3 Haskell

NaCl (pronounced "salt") is a fast library for cryptographic networking. Think of it like OpenSSL, but faster, easier, and more secure.

These are the awesome Haskell bindings.

Getting started

It's just a cabal install away on Hackage:

$ cabal install nacl

After you install it, be sure to check out the wiki for more documentation, examples, and help.

Join in

Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.

Master git repository:

  • git clone

There's also a BitBucket mirror:

  • git clone


See AUTHORS.txt.


BSD3. See LICENSE.txt for terms of copyright and redistribution.

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.