@me2em/crypto
    Preparing search index...

    Interface PreKeyBundle

    The PUBLIC bundle published to the server for X25519-initiation. Exactly what an initiator needs to run their side of X3DH.

    • identityPublicKey: 32B Ed25519 public key of the recipient.
    • signedPreKeyPublicKey: 32B X25519 public key of the SPK.
    • signedPreKeySignature: 64B Ed25519 signature over SPK public key.
    • oneTimePreKeyPublicKey: optional 32B X25519 public key of an OTK.
    const result = await initiateX3DH(aliceIdentity, bobBundle);
    
    interface PreKeyBundle {
        identityPublicKey: Uint8Array;
        signedPreKeyPublicKey: Uint8Array;
        signedPreKeySignature: Uint8Array;
        oneTimePreKeyPublicKey?: Uint8Array;
    }
    Index
    identityPublicKey: Uint8Array
    signedPreKeyPublicKey: Uint8Array
    signedPreKeySignature: Uint8Array
    oneTimePreKeyPublicKey?: Uint8Array