Serialized E2E encrypted message for wire transport

interface SerializedEncryptedMessage {
    ciphertext: string;
    ephemeralKey?: string;
    nonce: string;
}

Properties

ciphertext: string

Encrypted data (base64)

ephemeralKey?: string

Ephemeral public key for DH (hex) — if using X25519

nonce: string

AES-GCM nonce/IV (base64)