Copyright | Copyright © 2021 Lars Kuhtz <lakuhtz@gmail.com> |
---|---|
License | MIT |
Maintainer | Lars Kuhtz <lakuhtz@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Blake2 Hash Functions
Synopsis
- newtype Blake2b512 = Blake2b512 ShortByteString
- newtype Blake2s256 = Blake2s256 ShortByteString
- module Data.Hash.Class.Mutable
Blake2
BLAKE2 is an improved version of BLAKE, which was submitted to the NIST SHA-3 algorithm competition. The BLAKE2s and BLAKE2b algorithms are described in RFC 7693.
While the BLAKE2b and BLAKE2s algorithms supports a variable length digest, this implementation outputs a digest of a fixed length (the maximum length supported), which is 512-bits for BLAKE2b and 256-bits for BLAKE2s.
newtype Blake2b512 Source #
Instances
newtype Blake2s256 Source #
Instances
module Data.Hash.Class.Mutable