cryptohash-0.11.9: collection of crypto hashes, fast, pure and practical

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellTrustworthy
LanguageHaskell98

Crypto.MAC.SHA3

Description

provide a simple SHA3 MAC mechanism with

mac = hash(key|message)

Synopsis

Documentation

data MAC512 Source

SHA3_512 MAC

Constructors

MAC512 

data MAC384 Source

SHA3_384 MAC

Constructors

MAC384 

data MAC256 Source

SHA3_256 MAC

Constructors

MAC256 

data MAC224 Source

SHA3_224 MAC

Constructors

MAC224 

mac512 Source

Arguments

:: ByteString

secret

-> ByteString

message

-> MAC512 

compute a MAC using a simple SHA3_512 key|msg

mac384 Source

Arguments

:: ByteString

secret

-> ByteString

message

-> MAC384 

compute a MAC using a simple SHA3_384 key|msg

mac256 Source

Arguments

:: ByteString

secret

-> ByteString

message

-> MAC256 

compute a MAC using a simple SHA3_256 key|msg

mac224 Source

Arguments

:: ByteString

secret

-> ByteString

message

-> MAC224 

compute a MAC using a simple SHA3_224 key|msg