Documentation ¶
Overview ¶
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/security/noise.
Index ¶
Constants ¶
const ID = noise.ID
ID is the protocol ID for noise Deprecated: use github.com/libp2p/go-libp2p/p2p/security/noise.ID instead.
const LengthPrefixLength = noise.LengthPrefixLength
LengthPrefixLength is the length of the length prefix itself, which precedes all transport messages in order to delimit them. In bytes. Deprecated: use github.com/libp2p/go-libp2p/p2p/security/noise.LengthPrefixLength instead.
const MaxPlaintextLength = noise.MaxPlaintextLength
MaxPlaintextLength is the maximum payload size. It is MaxTransportMsgLength minus the MAC size. Payloads over this size will be automatically chunked. Deprecated: use github.com/libp2p/go-libp2p/p2p/security/noise.MaxPlaintextLength instead.
const MaxTransportMsgLength = noise.MaxTransportMsgLength
MaxTransportMsgLength is the Noise-imposed maximum transport message length, inclusive of the MAC size (16 bytes, Poly1305 for noise-libp2p). Deprecated: use github.com/libp2p/go-libp2p/p2p/security/noise.MaxTransportMsgLength instead.
Variables ¶
This section is empty.
Functions ¶
This section is empty.