libsodium-bindings: FFI bindings to libsodium
This library embeds FFI bindings to the stable version of libsodium 1.0.18. The interface exposed by this library is kept close to the C library.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- LibSodium
- LibSodium.Bindings
- LibSodium.Bindings.AEAD
 - LibSodium.Bindings.Comparison
 - LibSodium.Bindings.CryptoAuth
 - LibSodium.Bindings.CryptoBox
 - LibSodium.Bindings.CryptoSign
 - LibSodium.Bindings.GenericHashing
 - LibSodium.Bindings.KeyDerivation
 - LibSodium.Bindings.KeyExchange
 - LibSodium.Bindings.Main
 - LibSodium.Bindings.PasswordHashing
 - LibSodium.Bindings.Random
 - LibSodium.Bindings.SHA2
 - LibSodium.Bindings.Scrypt
 - LibSodium.Bindings.SealedBoxes
 - LibSodium.Bindings.SecretStream
 - LibSodium.Bindings.Secretbox
 - LibSodium.Bindings.SecureMemory
 - LibSodium.Bindings.ShortHashing
 - LibSodium.Bindings.Utils
 - LibSodium.Bindings.XChaCha20
 
 
 - LibSodium.Bindings
 
Flags
Manual Flags
| Name | Description | Default | 
|---|---|---|
| pkg-config | Use pkg-config to find Libsodium (macOS and linux only).  | Disabled | 
| homebrew | Use Homebrew version of Libsodium (macOS only).  | Disabled | 
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- libsodium-bindings-0.0.3.0.tar.gz [browse] (Cabal source package)
 - Package description (as included in the package)
 
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.1.0, 0.0.1.1, 0.0.2.0, 0.0.3.0 | 
|---|---|
| Change log | CHANGELOG.md | 
| Dependencies | base (>=4.14 && <5) [details] | 
| Tested with | ghc ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.2 || ==9.10.1 || ==9.12.1 | 
| License | BSD-3-Clause | 
| Author | Hécate Moonlight, Koz Ross | 
| Maintainer | The Haskell Cryptography contributors | 
| Category | Cryptography | 
| Home page | https://github.com/haskell-cryptography/libsodium-bindings | 
| Bug tracker | https://github.com/haskell-cryptography/libsodium-bindings/issues | 
| Source repo | head: git clone https://github.com/haskell-cryptography/libsodium-bindings(libsodium-bindings) | 
| Uploaded | by hecate at 2025-05-20T09:27:14Z | 
| Distributions | LTSHaskell:0.0.3.0, NixOS:0.0.3.0, Stackage:0.0.3.0 | 
| Reverse Dependencies | 1 direct, 3 indirect [details] | 
| Downloads | 322 total (10 in the last 30 days) | 
| Rating | (no votes yet) [estimated by Bayesian average] | 
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet]  |