Crypto SDK
    Preparing search index...

    Interface HybridKeyPair

    Hybrid X25519+ML-KEM key pair for post-quantum key exchange.

    const { data } = await client.pqGenerateKeyPair();
    const keys: HybridKeyPair = data;
    console.log(keys.x25519PublicKey, keys.mlKemPublicKey);
    interface HybridKeyPair {
        x25519PrivateKey: string;
        x25519PublicKey: string;
        mlKemPublicKey: string;
        mlKemSecretKey: string;
        algorithm: string;
    }
    Index
    x25519PrivateKey: string

    Hex-encoded X25519 private key.

    x25519PublicKey: string

    Hex-encoded X25519 public key.

    mlKemPublicKey: string

    Hex-encoded ML-KEM public (encapsulation) key.

    mlKemSecretKey: string

    Hex-encoded ML-KEM secret (decapsulation) key.

    algorithm: string

    Hybrid KEM algorithm identifier.