skein-0.1: Skein, a family of cryptographic hash functions. Includes Skein-MAC as well.

Portabilityportable (needs FFI)
Stabilityprovisional
Maintainerfelipe.lessa@gmail.com

Crypto.Skein.Internal

Contents

Description

Basic wrappers around the C library. You shouldn't need to use these functions. Instead, use the high-level Crypto.Skein module.

Synopsis

Return codes

check :: IO CInt -> IO ()Source

Throws exception if the function does not return successfully.

Skein-256

newtype Skein256Ctx Source

Constructors

S256Ctx 

Skein-512

newtype Skein512Ctx Source

Constructors

S512Ctx 

Skein-1024

newtype Skein1024Ctx Source

Constructors

S1024Ctx 

Misc constants

sKEIN_SEQUENTIAL :: Word64Source

Pass to InitExt to get sequential processing.