Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haskell-cryptography/libsodium-bindings
Bindings to libsodium for Haskell
https://github.com/haskell-cryptography/libsodium-bindings
cryptography haskell libsodium
Last synced: about 1 month ago
JSON representation
Bindings to libsodium for Haskell
- Host: GitHub
- URL: https://github.com/haskell-cryptography/libsodium-bindings
- Owner: haskell-cryptography
- License: bsd-3-clause
- Created: 2022-01-10T10:28:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T16:58:25.000Z (9 months ago)
- Last Synced: 2024-04-06T11:45:13.777Z (9 months ago)
- Topics: cryptography, haskell, libsodium
- Language: Haskell
- Homepage:
- Size: 4.4 MB
- Stars: 28
- Watchers: 5
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Sodium Bindings [![made with Haskell](https://img.shields.io/badge/Made%20in-Haskell-%235e5086?logo=haskell&style=flat-square)](https://haskell.org)
The Haskell Cryptography Group presents its suite of libsodium packages:
| Package | Status |
|--------------------------|------------------------|
| [sel][sel] | [![sel-badge]][sel-ci] |
| [libsodium‑bindings][lb] | [![lb-badge]][lb-ci] |## Comparison with other libraries
| Name | Nature | Dependencies | GHC Support
|----------------------|--------------------------------------------|------------------------------------------------------------------------------|--------------------
| `libsodium‑bindings` | Low-level FFI bindings | `base` | Starts with 9.2.8
| `sel` | High-level Haskell interface | `base`, `base16`, `bytestring`, `text` `text-display`, `libsodium‑bindings` | Starts with 9.2.8
| `saltine` | Both FFI bindings and high-level interface | `base`, `bytestring` `deepseq`, `text`, `hashable`, `profunctors` | Starts with 8.0.2
| `libsodium` | Low-level FFI bindings | `base` | 8.6.5 to 8.10.1
| `crypto‑sodium` | High-level Haskell interface | `base`, `bytestring`, `random`, `cereal`, `libsodium`, `memory`, | Unclear| Name | FFI Convention | Library Discovery
|----------------------|--------------------------------|-------------------
| `libsodium‑bindings` | Recommended `capi` convention | `pkg-config`, `homebrew` (macOS-only), cabal‑native
| `saltine` | Legacy `ccall` convention | `pkg-config`, cabal-native
| `libsodium` | Legacy `ccall` convention | `pkg-config`[sel]: https://github.com/haskell-cryptography/libsodium-bindings/blob/main/sel/README.md
[sel-badge]: https://github.com/haskell-cryptography/libsodium-bindings/actions/workflows/sel.yml/badge.svg
[sel-ci]: https://github.com/haskell-cryptography/libsodium-bindings/actions/workflows/sel.yml?query=branch%3Amain[lb]: https://github.com/haskell-cryptography/libsodium-bindings/blob/main/libsodium-bindings/README.md
[lb-badge]: https://github.com/haskell-cryptography/libsodium-bindings/actions/workflows/libsodium-bindings.yml/badge.svg
[lb-ci]: https://github.com/haskell-cryptography/libsodium-bindings/actions/workflows/libsodium-bindings.yml?query=branch%3Amain