@hackage raaz0.2.2

The raaz cryptographic library.

  • Installation

  • Dependencies (5)

  • Dependents (1)

    @hackage/keysafe
  • Package Flags

      opt-native
       (off by default)

      Use optimisation for the platform on which it is being built. Do not enable this when cross compiling as it can break the implementation. Also tested only with gcc.

      vector128
       (off by default)

      Make use of vector instructions with size being 128. Do not enable this unless you have reasons to. It is better to use opt-native and opt-vectorise and let gcc have a go at the portable implementation

      vector256
       (off by default)

      Make use of gcc vector instructions with size being 256. Do not enable this unless you have reasons to. It is better to use opt-native and opt-vectorise and let gcc have a go at the portable implementation.

      vector512
       (off by default)

      Make use of gcc vector instructions with size being 512.

      avx2
       (off by default)

      Support avx2 optimisations. Warning: enable only if you are sure of support.

      linux-getrandom
       (off by default)

      Use the getrandom for system entropy instead of devurandom. Available only on linux kernel > 3.17.

      liquidhaskell
       (off by default)

      Use liquid haskell form verifying properties. Only for developers.

Raaz: A secure cryptographic library

Build Windows Hackage Hackage Dependencies

This is the repository of raaz, a Haskell library that implements some standard cryptographic primitives. This library is the basis on which we plan to build a cryptographic framework in Haskell. For example, there are plans to implement some common cryptographic protocols like ssh. Thus applications that require cryptographic security, in particular secure networking applications can be built out of this.

Raaz is also an attempt to provide better security guarantees by making use of Haskell's strong typing. Besides, we put a lot of emphasis on better API design and good documentation which, we believe, makes the usage of the library secure.

The word Raaz (राज़) stands for secret in Hindi.

Hacking and Discussion

For details please refer to our wiki.

Releasing and reviewing.

The repository also contains the file Releasing.md which contains checklist for releasing a new version of the library. Any crypto library should undergo through review by multiple people. In the file Reviewing.md, we collect some common pitfalls to look for while reviewing the code. It is good to actively look for some of the problems suggested there but of course one should also look for other problems.