IdrisDoc: Data.Hash

Data.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.

hash : Hashable a => a -> Bits64

Computes a non cryptographic hash

interface Hashable 

A type that can be hashed

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