cacophony-0.10.0: A library implementing the Noise protocol.
Crypto.Noise.Hash.BLAKE2b
Contents
Description
Synopsis
data BLAKE2b Source #
Represents the BLAKE2b hash.
Instances
Associated Types
data ChainingKey BLAKE2b :: * Source #
data Digest BLAKE2b :: * Source #
Methods
hashName :: proxy BLAKE2b -> ScrubbedBytes Source #
hashLength :: proxy BLAKE2b -> Int Source #
hash :: ScrubbedBytes -> Digest BLAKE2b Source #
hashHKDF :: ChainingKey BLAKE2b -> ScrubbedBytes -> Word8 -> [ScrubbedBytes] Source #
hashBytesToCK :: ScrubbedBytes -> ChainingKey BLAKE2b Source #
hashCKToBytes :: ChainingKey BLAKE2b -> ScrubbedBytes Source #
hashToBytes :: Digest BLAKE2b -> ScrubbedBytes Source #