j-mueller / haskell-crypto

Haskell cryptography done right

Home Page:https://hackage.haskell.org/package/crypto-sodium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High-level cryptography for Haskell (haskell-crypto)

Easy-and-safe-to-use high-level cryptographic primitives.

Note: this package is experimental and WIP.

Cryptography is hard to do right, even if you have access to low-level cryptographic primitives – you still need to pick the right ones and then combine them in a safe way.

Luckily, there already exists a high-level library that does this for you: Sodium (based on Nacl). This repository contains two Haskell packages:

  • crypto-sodium – high-level cryptography based on Sodium, spiced up with extra type-safety of the Haskell type system.
  • NaCl – similar high-level bindings, but only providing the subset of Sodium functions that was present in the original NaCl library.

Why not?

Use

See Haddock documentation at https://hackage.haskell.org/package/crypto-sodium.

Contributing

If you encounter any issues when using this library or have improvement ideas, please open report in issue on GitHub. You are also very welcome to submit pull request, if you feel like doing so.

License

MPL-2.0 © Serokell

About

Haskell cryptography done right

https://hackage.haskell.org/package/crypto-sodium


Languages

Language:Haskell 98.0%Language:C 1.3%Language:Nix 0.7%