MaboroshiChan / z-botan

TLS for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Z-Botan

Linux Build Status MacOS Build Status Windows Build Status

This package is part of ZHaskell project, providing comprehensive crypto primitives based on botan, still under heavy development.

  • Random number generators.
  • Block Cipher and symmetric cipher.
  • Hash.
  • MAC.
  • Key derivation functions.
  • Password hash.
  • Constant time multiple precision integers.
  • Public key creation, import and export.
  • Public key encryption/decryption
  • Diffie-Hellman key exchange.
  • Signature generation & signature verification.
  • X.509 certificates & X.509 certificate revocation lists.
  • One time password.

Requirements

  • A working haskell compiler system, GHC(>=8.6), cabal-install(>=2.4), hsc2hs.

  • A working python interpreter in $PATH.

  • Tests need hspec-discover.

Example usage

> import Z.Crypto 
>

Dev guide

# get code
git clone --recursive git@github.com:ZHaskell/z-botan.git 
cd z-botan
# build
cabal build
# test
cabal test --test-show-details=direct
# install 
cabal install
# generate document
cabal haddock

About

TLS for Haskell

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 90.2%Language:C 9.8%