About

Metadata

  • Last updated , by RenzoCarbonara
  • License Apache-2.0
  • Categories Cryptography
  • Maintained by: renλren.zone

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.2.5

Package Flags

Use the -f option with cabal commands to enable flags

    avx512 (on by default)

    Enable AVX-512 instructions

    avx2 (on by default)

    Enable AVX2 instructions

    sse41 (on by default)

    Enable SSE 4.1 instructions

    sse2 (on by default)

    Enable SSE 2 instructions

Readme

Haskell BLAKE3

Bindings to the official fast BLAKE3 implementations in assembly and C, with support for AVX-512, AVX2 and SSE 4.1, SSE 2.

Development

  • Build with nix-build -A ghc865 (or ghc883).

  • Enter into a development environment with nix-shell -A ghc865 (or ghc883). From this environment, you can build with cabal new-build blake3, test with cabal new-test blake3, render documentation with cabal new-haddock blake3, etc.