ts-algochat
    Preparing search index...

    Function planMailboxPut

    • Validates and plans a single mailbox put.

      Parameters

      • viewSecret: Uint8Array

        32-byte secret shared with the recipient

      • counter: number

        uint32 rotation counter

      • envelope: Uint8Array

        1..2048 opaque envelope bytes

      Returns MailboxLegPlan

      The leg plan (mailbox id, exact MBR, envelope)