hashes-0.2.1.0: Hash functions
CopyrightCopyright © 2021 Lars Kuhtz <lakuhtz@gmail.com>
LicenseMIT
MaintainerLars Kuhtz <lakuhtz@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Hash.FNV1

Description

The primitive versions are usually not more efficient than the version with explicit word sizes for the respective host architecture.

Synopsis

Fnv1 64 bit

newtype Fnv164Hash Source #

Constructors

Fnv164Hash Word64 

Instances

Instances details
Eq Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv164Hash Source #

Hash Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv164Hash Source #

type Context Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Fnv1a 64 bit

newtype Fnv1a64Hash Source #

Constructors

Fnv1a64Hash Word64 

Instances

Instances details
Eq Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1a64Hash Source #

Hash Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv1a64Hash Source #

type Context Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Fnv1 32 bit

newtype Fnv132Hash Source #

Constructors

Fnv132Hash Word32 

Instances

Instances details
Eq Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv132Hash Source #

Hash Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv132Hash Source #

type Context Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Fnv1a 32 bit

newtype Fnv1a32Hash Source #

Constructors

Fnv1a32Hash Word32 

Instances

Instances details
Eq Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1a32Hash Source #

Hash Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv1a32Hash Source #

type Context Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Fnv1 Host Wordsize

newtype Fnv1Hash Source #

Constructors

Fnv1Hash Word 

Instances

Instances details
Eq Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1Hash Source #

Hash Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv1Hash Source #

type Context Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Fnv1a Host Wordsize

newtype Fnv1aHash Source #

Constructors

Fnv1aHash Word 

Instances

Instances details
Eq Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

Ord Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

Show Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

IncrementalHash Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1aHash Source #

Hash Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

Hash Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Associated Types

type Salt Fnv1aHash Source #

type Context Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

type Salt Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1.Salted

Utils

Low-Level

64 bit

32 bit

Host word size

fnv1Primitive :: Addr# -> Int# -> State# tok -> (# State# tok, Word# #) Source #

fnv1Primitive_ :: Addr# -> Int# -> Word# -> State# tok -> (# State# tok, Word# #) Source #

fnv1aPrimitive :: Addr# -> Int# -> State# tok -> (# State# tok, Word# #) Source #

fnv1aPrimitive_ :: Addr# -> Int# -> Word# -> State# tok -> (# State# tok, Word# #) Source #

Internal Constants