Haskell cryptography done right
Go to file
Nikolay Yakimov 46bf81528f
Merge pull request #41 from serokell/lierdakil/chore-relax-deps
[Chore] Update to LTS-21.0, relax dependencies
2023-06-30 23:18:01 +03:00
.buildkite [Chore] Update CI setup 2023-06-23 15:36:38 +03:00
crypto-sodium [Chore] Relax dependencies, bump to LTS-21.0 2023-06-23 15:19:20 +03:00
crypto-sodium-streamly pre-release: 0.0.5.0 + secure-memory-0.0.0.2 2021-11-22 12:43:17 -05:00
hpack [Chore] Relax dependencies, bump to LTS-21.0 2023-06-23 15:19:20 +03:00
LICENSES reuse: Remove unused license 2021-12-07 00:25:05 -05:00
NaCl [Chore] Relax dependencies, bump to LTS-21.0 2023-06-23 15:19:20 +03:00
secure-memory [Chore] Don't depend on reflection 2023-06-23 23:04:55 +03:00
.gitignore meta: Add missing licensing information 2021-07-17 17:08:41 -04:00
flake.lock fixup! fixup! [Chore] Update CI setup 2023-06-23 17:28:11 +03:00
flake.lock.license meta: Update the flake and enable checks 2021-07-17 17:08:41 -04:00
flake.nix fixup! fixup! [Chore] Update CI setup 2023-06-23 17:28:11 +03:00
README.md README: Add a link to Hackage 2020-06-12 14:09:30 +03:00
README.md.license Initial version 2020-05-24 01:09:17 +03:00
shell.nix ci: Add a shell.nix file with nixFlakes 2021-07-17 17:25:11 -04:00
stack.yaml [Chore] Relax dependencies, bump to LTS-21.0 2023-06-23 15:19:20 +03:00
stack.yaml.lock [Chore] Relax dependencies, bump to LTS-21.0 2023-06-23 15:19:20 +03:00
stack.yaml.lock.license Initial version 2020-05-24 01:09:17 +03:00

High-level cryptography for Haskell (haskell-crypto)

Easy-and-safe-to-use high-level cryptographic primitives.

Note: this package is experimental and WIP.

Cryptography is hard to do right, even if you have access to low-level cryptographic primitives you still need to pick the right ones and then combine them in a safe way.

Luckily, there already exists a high-level library that does this for you: Sodium (based on Nacl). This repository contains two Haskell packages:

  • crypto-sodium high-level cryptography based on Sodium, spiced up with extra type-safety of the Haskell type system.
  • NaCl similar high-level bindings, but only providing the subset of Sodium functions that was present in the original NaCl library.

Why not?

Use

See Haddock documentation at https://hackage.haskell.org/package/crypto-sodium.

Contributing

If you encounter any issues when using this library or have improvement ideas, please open report in issue on GitHub. You are also very welcome to submit pull request, if you feel like doing so.

License

MPL-2.0 © Serokell