cacophony-0.4.0: A library implementing the Noise protocol.

MaintainerJohn Galt <jgalt@centromere.net>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Crypto.Noise.HandshakePatterns

Contents

Description

This module contains all of the handshake patterns specified in the protocol. The first two characters of the name represent the handshake the pattern describes (NN, KN, NK, etc). The last character represents whether the pattern is intended to be used by the Initiator or the Responder. These functions are intended to be passed to the handshakeState function. The (de-)serialization of (pre-)messages is beyond the scope of this library, but public keys can be imported/exported using the curveBytesToPub and curvePubToBytes functions.

Synopsis

Functions