crypto-sodium: Easy-and-safe-to-use high-level cryptography based on Sodium
This is a collection of high-level cryptographic primitives based on Sodium, spiced up with extra type-safety of the Haskell type system.
Note: this package is experimental and WIP.
Cryptography is hard to do right and you should never try to implement it on your own, even if you have access to safe and secure cryptographic primitives. Luckily, D. J. Bernstein created NaCl.
NaCl was designed specifically to make it hard to use it incorrectly and thus save you from a disaster. It exposes high-level cryptographic algorithms with underlying implementations chosen for you, so you do not get flexibility, but you get security, which is more important.
Sodium is a reimplementation of NaCl with the goal to make it more portable across different platforms. With time, it started providing more than the same interface as NaCl. Nowadays it implements additional primitives and utility functions.
Authenticated symmetric-key encryption: Crypto.Encrypt.Secretbox
Authenticated public-key encryption: Crypto.Encrypt.Box
[Skip to Readme]
|Versions [faq]||0.0.2.0, 0.0.3.0, 0.0.3.1|
|Dependencies||base (>=4.10 && <4.15), bytestring (>=0.9 && <0.11), cereal (>=0.1 && <0.6), libsodium (>=1.0.11 && <2), memory (>=0.14.15 && <0.16), NaCl (>=0.0.1.0 && <0.1), safe-exceptions (==0.1.*) [details]|
|Author||Kirill Elagin <email@example.com>|
|Maintainer||Kirill Elagin <firstname.lastname@example.org>|
|Source repo||head: git clone https://github.com/serokell/haskell-crypto|
|Uploaded||by kirelagin at 2020-06-12T11:36:47Z|
|Downloads||165 total (4 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees