HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Moduleweb3-crypto-1.1.0.0Haskell2010

Data.Digest.XXHash

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
valuexxhash
  1. :: Integral bitLength
  2. => bitLength

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

  3. -> ByteString

    Input data.

  4. -> ByteString

    Output hash.

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