The nettle package

[Tags: library, mit]

safe binding for the nettle ( library. Tested with nettle-2.7.1, might work with 2.5, does NOT WORK with 3.0.

[Skip to ReadMe]


Versions0.1.0, 0.1.1
Change logNone available
Dependenciesbase (==4.*), byteable, bytestring, crypto-cipher-types (>=0.0.3 && <0.1), securemem (>=0.1.2), tagged [details]
CopyrightStefan Bühler <>
AuthorStefan Bühler <>
MaintainerStefan Bühler <>
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedTue Jun 2 17:51:29 UTC 2015 by stbuehler
DistributionsDebian:0.1.1, Stackage:0.1.1
Downloads662 total (14 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-11-13 [all 5 reports]



usepkgconfigUse pkg-config to check for library dependencesEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees

Readme for nettle-0.1.1


This is the source repository for the "nettle" cabal package, which is a safe binding to the nettle library (tested with 2.7.1, might work with 2.5, does NOT WORK with 3.0).

The binding supports all hash functions, cipher functions, cipher modes and keyed hash functions included in nettle (additionally the AEAD-CCM cipher mode is implemented in pure haskell).

Not included are the PBKDF2 key derivation functions, the public-key algorithms (RSA, DSA, elliptic curves, ECDSA), the pseudo-random generators (lagged Fibonacci and Yarrow), and the base64/base16 encoding/decoding functions.

Also not included are the undocumented ASN1, PGP, PKCS1 and "s-expression" functions.

The haddock generated documentation is available at

The test vectors were extracted from the nettle library and ported to haskell; they come from different sources.