IdrisDoc: Data.Hash

Data.Hash

interface Hashable 

A type that can be hashed

saltedHash64 : Hashable a => a -> Bits64 -> Bits64
hash : Hashable a => a -> Bits64

Computes a non cryptographic hash

saltedHash : Hashable a => Bits64 -> a -> Bits64

Given a user provided salt, computes a non cryptographic hash.
This version is meant to mitigate hash-flooding DoS attacks.