crypton-box: NaCl crypto/secret box implementations based on crypton primitives.
This library provides a high-level API for authenticated encryption and decryption using the NaCl crypto_box and crypto_secretbox constructs.
The API is implemented in pure Haskell using XSalsa and Poly1305 primitives provided by the crypton library.
Important: This library has not been professionally reviewed. Side channel attacks and memory-related vulnerabilities may exist! Use at your own risk.
(P.S. I would love to hear from you if you can audit this library and improve its security!)
[Skip to Readme]
Downloads
- crypton-box-1.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.1.0, 1.2.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | base (>=4.7 && <5), bytestring (>=0.9 && <1), crypton (>=1.0.0 && <2), ram (>=0.19 && <1) [details] |
| Tested with | ghc ==8.10.7, ghc ==9.4.8, ghc ==9.12.2 |
| License | BSD-3-Clause |
| Copyright | 2025-2026 Yuto Takano |
| Author | Yuto Takano |
| Maintainer | moa17stock@gmail.com |
| Uploaded | by yutotakano at 2026-03-07T10:52:49Z |
| Category | Cryptography |
| Home page | https://github.com/yutotakano/crypton-box#readme |
| Bug tracker | https://github.com/yutotakano/crypton-box/issues |
| Source repo | head: git clone https://github.com/yutotakano/crypton-box |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 45 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] All reported builds failed as of 2026-03-07 [all 1 reports] |