API reference for mlkem/main
    Preparing search index...

    Function deriveMlKem768KeyPair

    • Derives a key pair of ML-KEM-768 deterministically from a 64-octet seed.

      The private key is a copy of the seed, as the seed is the private key.

      Parameters

      • seed: Uint8Array

        A 64-octet seed (d || z in FIPS 203).

      Returns Promise<[Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>]>

      A promise that resolves to a key pair [publicKey, privateKey].