cacophony-0.2.0: src/Crypto/Noise/Handshake.hs
----------------------------------------------------------------
-- |
-- Module : Crypto.Noise.Handshake
-- Maintainer : John Galt <jgalt@centromere.net>
-- Stability : experimental
-- Portability : POSIX
--
-- For more information regarding Descriptors, please see the
-- "Crypto.Noise.Descriptors" module.
module Crypto.Noise.Handshake
( -- * Types
HandshakeState,
Descriptor,
DescriptorIO,
CipherState,
-- * Functions
getRemoteStaticKey,
handshakeState,
writeHandshakeMsg,
readHandshakeMsg,
writeHandshakeMsgFinal,
readHandshakeMsgFinal,
encryptPayload,
decryptPayload
) where
import Crypto.Noise.Internal.HandshakeState
import Crypto.Noise.Internal.CipherState