raaz: Fast and type safe cryptography.
Raaz is a cryptographic library which provides the state of the art cryptographic primitives via a high-level, type safe interface. The default interface provided to the user is through the top level module Raaz. Rather than bothering the user with low-level details like the selection of primitives or entropy sources, this top level module only talks about the desired cryptographic operation (whether it is message digest or message encryption etc). A standalone application that needs cryptography should stick to using this top level interface.
Sometimes the selection of primitives is not in our hands --- we may
need to interface with other programs written in other languages or
using other libraries. For such situation, raaz exposes a primitive
specific interface. As an example raaz
exposes the
Raaz.Digest.Sha256
module that gives the same interface as that of
Raaz.Digest but uses sha256 as the underlying cryptographic hash.
[Skip to Readme]
library raaz
Modules
[Index] [Quick Jump]
- Raaz
- Raaz.Auth
- Raaz.Auth.Blake2b
- Raaz.Auth.Blake2s
- Raaz.AuthEncrypt
- Raaz.AuthEncrypt.Unsafe
- Raaz.AuthEncrypt.Unsafe.ChaCha20Poly1305
- Raaz.AuthEncrypt.Unsafe.XChaCha20Poly1305
- Raaz.AuthEncrypt.Unsafe
- Raaz.Core
- Raaz.Digest
- Raaz.Digest.Blake2b
- Raaz.Digest.Blake2s
- Raaz.Digest.Sha256
- Raaz.Digest.Sha512
- Raaz.Random
- Raaz.Random.Internal
- Raaz.Auth
library raaz:bench-csprg
library raaz:bench-prim
library raaz:bench-types
library raaz:test-auth-implementation
library raaz:test-auth
library raaz:test-digest
library raaz:test-cipher
library raaz:test-core
library raaz:implementation
Modules
[Index] [Quick Jump]
- Blake2b
- Blake2b.CHandWritten
- Blake2b.CPortable
- Blake2b.Implementation
- Blake2s
- Blake2s.CHandWritten
- Blake2s.Implementation
- ChaCha20
- ChaCha20.CHandWritten
- ChaCha20.CPortable
- ChaCha20.Implementation
- Random
- Entropy
- Poly1305
- Poly1305.CPortable
- Poly1305.Implementation
- Random
- Random.Implementation
- Sha256
- Sha256.CHandWritten
- Sha256.CPortable
- Sha256.Implementation
- Sha512
- Sha512.CHandWritten
- Sha512.CPortable
- Sha512.Implementation
library raaz:aead-api
library raaz:encrypt-api
library raaz:random-api
library raaz:auth-api
library raaz:digest-api
library raaz:xchacha-indef
library raaz:mac-indef
library raaz:utils
library raaz:buffer
library raaz:indef
Signatures
library raaz:libverse
library raaz:core
Flags
Manual Flags
Name | Description | Default |
---|---|---|
linux-getrandom | Use the getrandom for system entropy instead of devurandom. Enabled by default but disable this when building for kernel < 3.17. | Enabled |
native | Compile for native architecture. Often this enables a lot of platform specific optimisation which lead to better performance. Do not enable this when packaging though. Also tested only with gcc | Disabled |
wipe-memset | Use plain memset for wiping memory. The problem with its use is that agressive compilers often optimise it out. Raaz uses platform specific functions designed specifically to avoid this and hence enabling this flag is STRONGLY DISCOURAGED. Use it only if your platform does not support such a call. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- raaz-0.3.10.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Versions [RSS] | 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.11 && <4.21), bytestring (>=0.10 && <0.13), criterion-measurement (>=0.1 && <0.3), deepseq (>=1.4 && <1.6), hspec (>=2.10.6 && <2.12), HUnit (>=1.2 && <1.7), optparse-applicative (>=0.13.0.0 && <0.19), pretty (>=1.1.3 && <1.2), QuickCheck (>=2.4 && <2.16), raaz, vector (>=0.12 && <0.14) [details] |
License | (Apache-2.0 OR BSD-3-Clause)[multiple license files] |
Copyright | (c) 2012 Piyush P Kurur |
Author | Piyush P Kurur |
Maintainer | ppk@cse.iitk.ac.in |
Category | Codec, Raaz |
Home page | https://github.com/raaz-crypto/raaz |
Bug tracker | https://github.com/raaz-crypto/raaz/issues |
Source repo | head: git clone https://github.com/raaz-crypto/raaz |
Uploaded | by PiyushKurur at 2024-06-14T07:12:25Z |
Distributions | Debian:0.2.1, NixOS:0.3.10 |
Executables | raaz |
Downloads | 5764 total (23 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |