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]
Use the getrandom for system entropy instead of devurandom. Enabled by default but disable this when building for kernel < 3.17.
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
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.
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
|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 (info)|
|Dependencies||base (>=4.11 && <4.18), bytestring (>=0.10 && <0.12), criterion-measurement (>=0.1), deepseq (>=1.4 && <1.5), hspec, HUnit (>=1.2), optparse-applicative (>=0.13.0.0), pretty, QuickCheck (>=2.4), raaz, transformers, 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|
|Source repo||head: git clone https://github.com/raaz-crypto/raaz|
|Uploaded||by PiyushKurur at 2022-11-14T00:20:02Z|
|Downloads||4907 total (32 in the last 30 days)|
|Rating||2.25 (votes: 2) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]