The nettle package

[Tags:library, mit]

safe binding for the nettle (http://www.lysator.liu.se/~nisse/nettle/nettle.html) library. Tested with 3.1.1, might work with 3.0, does NOT WORK with 2.x.


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.2.0
Dependencies base (==4.*), byteable, bytestring, crypto-cipher-types (>=0.0.3 && <0.1), securemem (>=0.1.2), tagged [details]
License MIT
Copyright Stefan Bühler <stbuehler@web.de>
Author Stefan Bühler <stbuehler@web.de>
Maintainer Stefan Bühler <stbuehler@web.de>
Stability Unknown
Category Cryptography
Home page https://github.com/stbuehler/haskell-nettle
Bug tracker https://github.com/stbuehler/haskell-nettle/issues
Source repository head: git clone git://github.com/stbuehler/haskell-nettle
Uploaded Thu Jan 14 14:11:07 UTC 2016 by stbuehler
Distributions Debian:0.2.0, LTSHaskell:0.2.0, NixOS:0.2.0
Downloads 755 total (8 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
usepkgconfigUse pkg-config to check for library dependencesEnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for nettle

Readme for nettle-0.2.0

haskell-nettle

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

The binding supports all hash functions, cipher functions, cipher modes and keyed hash functions (apart from Poly1305-AES) 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 http://stbuehler.github.io/haskell-nettle/

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