Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Crypto.Hash.Blake2b
Description
Implementation of the Blake2b hashing algorithm, with various sizes.
Documentation
data Blake2b_224 Source #
Instances
HashAlgorithm Blake2b_224 Source # | |
Defined in Cardano.Crypto.Hash.Blake2b Associated Types type SizeHash Blake2b_224 :: Nat Source # Methods hashAlgorithmName :: proxy Blake2b_224 -> String Source # digest :: proxy Blake2b_224 -> ByteString -> ByteString Source # |
|
type SizeHash Blake2b_224 Source # | |
Defined in Cardano.Crypto.Hash.Blake2b |
data Blake2b_256 Source #
Instances
HashAlgorithm Blake2b_256 Source # | |
Defined in Cardano.Crypto.Hash.Blake2b Associated Types type SizeHash Blake2b_256 :: Nat Source # Methods hashAlgorithmName :: proxy Blake2b_256 -> String Source # digest :: proxy Blake2b_256 -> ByteString -> ByteString Source # |
|
SodiumHashAlgorithm Blake2b_256 Source # | |
Defined in Cardano.Crypto.Libsodium.Hash Methods naclDigestPtr :: proxy Blake2b_256 -> Ptr a -> Int -> IO ( MLockedSizedBytes ( SizeHash Blake2b_256 )) Source # |
|
type SizeHash Blake2b_256 Source # | |
Defined in Cardano.Crypto.Hash.Blake2b |
blake2b_libsodium :: Int -> ByteString -> ByteString Source #