# Packages
No description provided by the author
# Functions
DisablePeerIDCheck disables checking the remote peer ID for a noise connection.
EarlyData sets the `EarlyDataHandler` for the initiator and responder roles.
New creates a new Noise transport using the given private key as its dep2p identity key.
Prologue sets a prologue for the Noise session.
No description provided by the author
# Constants
ID is the protocol ID for noise.
LengthPrefixLength is the length of the length prefix itself, which precedes all transport messages in order to delimit them.
MaxPlaintextLength is the maximum payload size.
MaxTransportMsgLength is the Noise-imposed maximum transport message length, inclusive of the MAC size (16 bytes, Poly1305 for noise-dep2p).
# Structs
SessionTransport can be used to provide per-connection options.
No description provided by the author
# Interfaces
EarlyDataHandler defines what the application payload is for either the second (if responder) or third (if initiator) handshake message, and defines the logic for handling the other side's early data.
# Type aliases
No description provided by the author