ts-algochat
    Preparing search index...

    Interface MailboxLeg

    One fan-out leg input: the recipient channel's view secret, the message counter, and the opaque (already encrypted) envelope bytes.

    interface MailboxLeg {
        counter: number;
        envelope: Uint8Array;
        viewSecret: Uint8Array;
    }
    Index
    counter: number

    uint32 rotation counter for this message

    envelope: Uint8Array

    1..2048 opaque envelope bytes

    viewSecret: Uint8Array

    32-byte secret shared with this recipient