botan-0.0.1.0: High-level Botan bindings
Safe HaskellNone
LanguageHaskell2010

Botan.Hash.SHA3

Documentation

data SHA3 (n :: Nat) Source #

Instances

Instances details
Show (Digest (SHA3 n)) Source # 
Instance details

Defined in Botan.Hash.SHA3

Methods

showsPrec :: Int -> Digest (SHA3 n) -> ShowS #

show :: Digest (SHA3 n) -> String #

showList :: [Digest (SHA3 n)] -> ShowS #

SHA3Size n => Hash (SHA3 n) Source # 
Instance details

Defined in Botan.Hash.SHA3

Methods

hash :: ByteString -> Digest (SHA3 n) Source #

SHA3Size n => IncrementalHash (SHA3 n) Source # 
Instance details

Defined in Botan.Hash.SHA3

Eq (Digest (SHA3 n)) Source # 
Instance details

Defined in Botan.Hash.SHA3

Methods

(==) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

(/=) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

Ord (Digest (SHA3 n)) Source # 
Instance details

Defined in Botan.Hash.SHA3

Methods

compare :: Digest (SHA3 n) -> Digest (SHA3 n) -> Ordering #

(<) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

(<=) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

(>) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

(>=) :: Digest (SHA3 n) -> Digest (SHA3 n) -> Bool #

max :: Digest (SHA3 n) -> Digest (SHA3 n) -> Digest (SHA3 n) #

min :: Digest (SHA3 n) -> Digest (SHA3 n) -> Digest (SHA3 n) #

newtype Digest (SHA3 n) Source # 
Instance details

Defined in Botan.Hash.SHA3

type SHA3Size (n :: Nat) = (KnownNat n, ((n == 224) || ((n == 256) || ((n == 384) || (n == 512)))) ~ 'True) Source #

type SHA3Digest (n :: Nat) = Digest (SHA3 n) Source #

sha3 :: forall (n :: Nat). SHA3Size n => ByteString -> SHA3Digest n Source #

sha3Lazy :: forall (n :: Nat). SHA3Size n => ByteString -> SHA3Digest n Source #

type SHA3_224 = SHA3 224 Source #

type SHA3_256 = SHA3 256 Source #

type SHA3_384 = SHA3 384 Source #

type SHA3_512 = SHA3 512 Source #