Copyright | Aleksandr Krupenkin 2016-2021 |
---|---|
License | Apache-2.0 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
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
- xxhash :: Integral bitLength => bitLength -> ByteString -> ByteString
Documentation
:: 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
.