knothash-0.1.0.0: Knothash implementation
Safe HaskellNone
LanguageHaskell2010

KnotHash

Synopsis

Documentation

knotHash Source #

Arguments

:: String

input string

-> Integer

knot value

Given a rope size and an input string, compute the resulting hash.

tieKnots Source #

Arguments

:: [Int]

knot lengths

-> [Word8]

resulting rope

Create a rope, tie knots of the given lengths while skipping according to the increasing skip rule.