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.Class.Pure.Internal

Description

Incremental Pure Hashes

Documentation

class IncrementalHash a where Source #

Associated Types

type Context a :: Type Source #

Methods

update :: Context a -> Ptr Word8 -> Int -> IO (Context a) Source #

finalize :: Context a -> a Source #

Instances

Instances details
IncrementalHash Fnv1aHash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1aHash Source #

IncrementalHash Fnv1Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1Hash Source #

IncrementalHash Fnv1a32Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1a32Hash Source #

IncrementalHash Fnv132Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv132Hash Source #

IncrementalHash Fnv1a64Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv1a64Hash Source #

IncrementalHash Fnv164Hash Source # 
Instance details

Defined in Data.Hash.FNV1

Associated Types

type Context Fnv164Hash Source #

(SipHashParam c, SipHashParam d) => IncrementalHash (SipHash c d) Source # 
Instance details

Defined in Data.Hash.SipHash

Associated Types

type Context (SipHash c d) Source #

Methods

update :: Context (SipHash c d) -> Ptr Word8 -> Int -> IO (Context (SipHash c d)) Source #

finalize :: Context (SipHash c d) -> SipHash c d Source #

updateStorable :: forall a b. IncrementalHash a => Storable b => Context a -> b -> Context a Source #