HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

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

  • 1 value
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.