Copyright | Copyright © 2021-2024 Lars Kuhtz <lakuhtz@gmail.com> |
---|---|
License | MIT |
Maintainer | Lars Kuhtz <lakuhtz@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
SHA-3 Hash Functions
Synopsis
- newtype Sha3_224 = Sha3_224 ShortByteString
- newtype Sha3_256 = Sha3_256 ShortByteString
- newtype Sha3_384 = Sha3_384 ShortByteString
- newtype Sha3_512 = Sha3_512 ShortByteString
- newtype Shake128 (bits :: Natural) = Shake128 ShortByteString
- type Shake128_256 = Shake128 32
- newtype Shake256 (bits :: Natural) = Shake256 ShortByteString
- type Shake256_512 = Shake256 64
- module Data.Hash.Class.Mutable
SHA-3
SHA-3 (Secure Hash Algorithm 3) is a family of cryptographic hash functions standardized in NIST FIPS 202, first published in 2015. It is based on the Keccak algorithm. These functions conform to NIST FIPS 202.
Instances
IsString Sha3_224 Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Sha3_224 # | |
Show Sha3_224 Source # | |
Eq Sha3_224 Source # | |
Ord Sha3_224 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
Hash Sha3_224 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
IncrementalHash Sha3_224 Source # | |
ResetableHash Sha3_224 Source # | |
OpenSslDigest Sha3_224 Source # | |
type Context Sha3_224 Source # | |
Instances
IsString Sha3_256 Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Sha3_256 # | |
Show Sha3_256 Source # | |
Eq Sha3_256 Source # | |
Ord Sha3_256 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
Hash Sha3_256 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
IncrementalHash Sha3_256 Source # | |
ResetableHash Sha3_256 Source # | |
OpenSslDigest Sha3_256 Source # | |
type Context Sha3_256 Source # | |
Instances
IsString Sha3_384 Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Sha3_384 # | |
Show Sha3_384 Source # | |
Eq Sha3_384 Source # | |
Ord Sha3_384 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
Hash Sha3_384 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
IncrementalHash Sha3_384 Source # | |
ResetableHash Sha3_384 Source # | |
OpenSslDigest Sha3_384 Source # | |
type Context Sha3_384 Source # | |
Instances
IsString Sha3_512 Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Sha3_512 # | |
Show Sha3_512 Source # | |
Eq Sha3_512 Source # | |
Ord Sha3_512 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
Hash Sha3_512 Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
IncrementalHash Sha3_512 Source # | |
ResetableHash Sha3_512 Source # | |
OpenSslDigest Sha3_512 Source # | |
type Context Sha3_512 Source # | |
newtype Shake128 (bits :: Natural) Source #
Instances
IsString (Shake128 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Shake128 bits # | |
Show (Shake128 bits) Source # | |
Eq (Shake128 bits) Source # | |
Ord (Shake128 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL compare :: Shake128 bits -> Shake128 bits -> Ordering # (<) :: Shake128 bits -> Shake128 bits -> Bool # (<=) :: Shake128 bits -> Shake128 bits -> Bool # (>) :: Shake128 bits -> Shake128 bits -> Bool # (>=) :: Shake128 bits -> Shake128 bits -> Bool # | |
KnownNat bits => Hash (Shake128 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
KnownNat bits => IncrementalHash (Shake128 bits) Source # | |
KnownNat bits => ResetableHash (Shake128 bits) Source # | |
OpenSslDigest (Shake128 n) Source # | |
type Context (Shake128 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL |
type Shake128_256 = Shake128 32 Source #
newtype Shake256 (bits :: Natural) Source #
Instances
IsString (Shake256 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL fromString :: String -> Shake256 bits # | |
Show (Shake256 bits) Source # | |
Eq (Shake256 bits) Source # | |
Ord (Shake256 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL compare :: Shake256 bits -> Shake256 bits -> Ordering # (<) :: Shake256 bits -> Shake256 bits -> Bool # (<=) :: Shake256 bits -> Shake256 bits -> Bool # (>) :: Shake256 bits -> Shake256 bits -> Bool # (>=) :: Shake256 bits -> Shake256 bits -> Bool # | |
KnownNat bits => Hash (Shake256 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL | |
KnownNat bits => IncrementalHash (Shake256 bits) Source # | |
KnownNat bits => ResetableHash (Shake256 bits) Source # | |
OpenSslDigest (Shake256 n) Source # | |
type Context (Shake256 bits) Source # | |
Defined in Data.Hash.Internal.OpenSSL |
type Shake256_512 = Shake256 64 Source #
module Data.Hash.Class.Mutable