NaCl: Easy-and-safe-to-use high-level Haskell bindings to NaCl
This library uses Sodium under the hood, but only exposes the primitives that are part of the “classic” NaCl interface. We believe, it is better to be paranoid than sorry.
Note: this package is experimental and WIP.
Sodium is more portable, but some people prefer to stick to NaCl. We agree that it is better to be paranoid than sorry. That is why, even though this library uses Sodium under the hood, it only exposes the primitives that are part of the “classic” NaCl interface.
Sodium provides useful algorithms, that are not part of NaCl, for example key derivation or random number generation. If you need them too (you probably do), you should use crypto-sodium instead.
Public-key cryptography
Authenticated encryption: NaCl.Box
Scalar multiplication: NaCl.Scalarmult
Public-key signatures: NaCl.Sign
Secret-key cryptography
Authenticated encryption: NaCl.Secretbox
Unauthenticated streaming encryption: NaCl.Stream
Authentication: NaCl.Auth
Low-level functions
Hashing: NaCl.Hash
String comparison: NaCl.Verify
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- NaCl-0.0.5.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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'.
Versions [RSS] | 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.3.1, 0.0.4.0, 0.0.5.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.10 && <4.18), bytestring (>=0.9 && <0.12), libsodium (>=1.0.11 && <2), memory (>=0.14.15 && <0.19), safe-exceptions (>=0.1 && <0.2) [details] |
License | MPL-2.0 |
Copyright | 2021 Serokell |
Author | Kirill Elagin <kirelagin@serokell.io> |
Maintainer | Serokell <libraries@serokell.io> |
Revised | Revision 1 made by lierdakil at 2023-06-23T14:54:15Z |
Category | Cryptography |
Home page | https://github.com/serokell/haskell-crypto#readme |
Bug tracker | https://github.com/serokell/haskell-crypto/issues |
Source repo | head: git clone https://github.com/serokell/haskell-crypto |
Uploaded | by kirelagin at 2021-11-22T17:46:41Z |
Distributions | |
Reverse Dependencies | 1 direct, 6 indirect [details] |
Downloads | 1301 total (20 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 2021-11-22 [all 2 reports] |