Polkadot Apps
    Preparing search index...

    Type Alias KemAlgorithm

    KemAlgorithm: "x25519" | "ml-kem-768" | "x25519-ml-kem-768"

    Key encapsulation mechanism identifiers.

    Classical:

    • "x25519" — Curve25519 Diffie-Hellman key agreement.

    Post-quantum (future, not yet implemented):

    • "ml-kem-768" — Module-Lattice Key Encapsulation (FIPS 203), ~AES-192 equivalent security.
    • "x25519-ml-kem-768" — Hybrid classical + post-quantum for defense-in-depth.

    PQC types are defined for forward compatibility. Implementations will be added when audited libraries (e.g. @noble/post-quantum) reach stable releases.