File: README.md

package info (click to toggle)
haskell-nettle 0.3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 668 kB
  • sloc: haskell: 3,237; ansic: 252; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 987 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
# haskell-nettle

This is the source repository for the "nettle" cabal package, which is a safe binding to 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).

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.