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