Module Sunnyhash
SunnyHash: Strongly Universal Hashing
val init : ?key:Stdint.Int64.t array -> int -> tinit ?key maxlenInitialize a strongly universal hash function.
maxlen: maximum length of input data that can be hashed with this functionkey:maxlen/4 + 2random bytes required for hashing; if not provided, it is generated using theNocrypto.Rngmodule, which needs to be initialized before calling this function.
val hash : t -> string -> inthash t strCompute 31-bit hash value of string.