Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Show (Digest (SHA2 n)) Source # | |
SHA2Size n => Hash (SHA2 n) Source # | |
Defined in Botan.Hash.SHA2 | |
SHA2Size n => IncrementalHash (SHA2 n) Source # | |
Defined in Botan.Hash.SHA2 | |
Eq (Digest (SHA2 n)) Source # | |
Ord (Digest (SHA2 n)) Source # | |
Defined in Botan.Hash.SHA2 compare :: Digest (SHA2 n) -> Digest (SHA2 n) -> Ordering # (<) :: Digest (SHA2 n) -> Digest (SHA2 n) -> Bool # (<=) :: Digest (SHA2 n) -> Digest (SHA2 n) -> Bool # (>) :: Digest (SHA2 n) -> Digest (SHA2 n) -> Bool # (>=) :: Digest (SHA2 n) -> Digest (SHA2 n) -> Bool # max :: Digest (SHA2 n) -> Digest (SHA2 n) -> Digest (SHA2 n) # min :: Digest (SHA2 n) -> Digest (SHA2 n) -> Digest (SHA2 n) # | |
newtype Digest (SHA2 n) Source # | |
Defined in Botan.Hash.SHA2 |
sha2 :: forall (n :: Nat). SHA2Size n => ByteString -> SHA2Digest n Source #
sha2Lazy :: forall (n :: Nat). SHA2Size n => ByteString -> SHA2Digest n Source #
data SHA2_512_256 Source #
Instances
type SHA2_512_256Digest = Digest SHA2_512_256 Source #