@me2em/crypto
    Preparing search index...

    Interface X3DHInitiationResult

    Result of the initiator-side X3DH.

    interface X3DHInitiationResult {
        sharedSecret: Uint8Array;
        ephemeralPublicKey: Uint8Array;
        usedOneTimePreKeyId?: string;
    }
    Index
    sharedSecret: Uint8Array

    32-byte shared secret — root of the chat channel.

    ephemeralPublicKey: Uint8Array

    The initiator's ephemeral public key (32B X25519) — MUST be transmitted to the recipient in the first message.

    usedOneTimePreKeyId?: string

    Which OTK was consumed (base64url unpadded of its public key), if any.