Interface L2PSEncryptedBytes

Payload shape for L2PS.encryptBytes / L2PS.decryptBytes. Used by SR-4 WI-3 to encrypt channel transcripts to the subnet member set without dragging the L2PS-transaction envelope into a non-tx context.

interface L2PSEncryptedBytes {
    ciphertext: string;
    l2ps_uid: string;
    nonce: string;
    tag: string;
}

Properties

ciphertext: string

Base64-encoded AES-GCM ciphertext.

l2ps_uid: string

UID of the L2PS network that encrypted these bytes.

nonce: string

Base64-encoded AES-GCM nonce (always 12 bytes, fresh per call).

tag: string

Base64-encoded AES-GCM authentication tag.