blakesum-0.2: The BLAKE SHA-3 candidate hashes, in Haskell

Data.Digest.SHA3.Candidate.BLAKE

Description

BLAKE is one of the finalists in the NIST SHA-3 hash function competition to replace SHA-1 and SHA-2.

Synopsis

Documentation

blake256Source

Arguments

:: ByteString

salt, 16 bytes

-> ByteString

message

-> ByteString

digest, 32 bytes

Compute a BLAKE-256 digest from a given salt and message

blake512Source

Arguments

:: ByteString

salt, 32 bytes

-> ByteString

message

-> ByteString

digest, 64 bytes

Compute a BLAKE-512 digest from a given salt and message

blake224Source

Arguments

:: ByteString

salt, 16 bytes

-> ByteString

message

-> ByteString

digest, 28 bytes

Compute a BLAKE-224 digest from a given salt and message (trucates output of a BLAKE-256)

blake384Source

Arguments

:: ByteString

salt, 32 bytes

-> ByteString

message

-> ByteString

digest, 48 bytes

Compute a BLAKE-384 digest from a given salt and message (trucates output of a BLAKE-512)