Crypto Lib
    Preparing search index...

    Interface HybridEncapsulateResult

    Result of an X25519 + ML-KEM-768 hybrid encapsulation.

    interface HybridEncapsulateResult {
        x25519EphemeralPublic: string;
        mlKemCiphertext: string;
        sharedSecret: string;
        algorithm: "x25519-ml-kem-768";
    }
    Index
    x25519EphemeralPublic: string

    X25519 ephemeral public key (hex, 32 bytes).

    mlKemCiphertext: string

    ML-KEM ciphertext (hex).

    sharedSecret: string

    Hex-encoded 32-byte combined shared secret (HKDF of both).

    algorithm: "x25519-ml-kem-768"

    Algorithm identifier.