@salvobee/crypto-vault
    Preparing search index...

    Function packContainer

    • Serialize container metadata and payload into the Base64URL wire format.

      Always writes the current container version. The compressed bit in flags is reserved (v2 carries that information inside the encrypted envelope, not in the clear header).

      Parameters

      • isChunked: { isChunked: boolean; meta: BaseMeta; payloadU8: Uint8Array }

        Whether the payload is a sequence of chunked frames.

      Returns string

      A Base64URL encoded container string.