nettle: safe nettle binding

[ cryptography, library, mit ] [ Propose Tags ]

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]

Flags

Automatic Flags
NameDescriptionDefault
usepkgconfig

Use pkg-config to check for library dependences

Enabled

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

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.1.1
Dependencies base (>=4.4 && <5), byteable, bytestring (>=0.10 && <0.11), 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>
Revised Revision 1 made by HerbertValerioRiedel at 2019-05-07T22:12:47Z
Category Cryptography
Home page https://github.com/stbuehler/haskell-nettle
Bug tracker https://github.com/stbuehler/haskell-nettle/issues
Source repo head: git clone git://github.com/stbuehler/haskell-nettle
Uploaded by stbuehler at 2018-06-16T12:42:30Z
Distributions Arch:0.3.1, Debian:0.3.0, NixOS:0.3.1.1, Stackage:0.3.1.1
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 5975 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2018-06-16 [all 2 reports]

Readme for nettle-0.2.1

[back to package description]

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.