web3-crypto-1.0.0.0: Cryptograhical primitives for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Data.Digest.XXHash

Description

xxHash C library bindings.

Variable bitLength implementation corresponds to polkadot-util: https://github.com/polkadot-js/common/tree/master/packages/util-crypto/src/xxhash

Synopsis

Documentation

xxhash Source #

Arguments

:: Integral bitLength 
=> bitLength

Bit lenght of output, will be ceiling to 64 bit.

-> ByteString

Input data.

-> ByteString

Output hash.

Create the xxhash64 and return the result with the specified bitLength.