Weave documentation
Zer0 Secret Stream

Framing

The encrypted stream has a three-byte transport frame header and a 16-byte Noise transport tag; the maximum Noise plaintext constant is 65,519 bytes.

Workflow and current contract

The encrypted stream has a three-byte transport frame header and a 16-byte Noise transport tag; the maximum Noise plaintext constant is 65,519 bytes. Protocol 1 pre-authentication frames are bounded separately at 16 KiB.

Use the selected session/stream API to send application data instead of manually splicing ciphertext frames. Validate framing errors, closure, deadlines, and flow-control limits. Encrypted framing authenticates transport content; the resource's application identity and permission checks still need the session-bound application exchange.

Source reference

On this page