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

    Function expandMlKem768PrivateKey

    • Expands a private key of ML-KEM-768, which is a 64-octet seed, to the decapsulation key of FIPS 203, which is 2400 octets in length.

      It is for interoperability with an implementation which needs the expanded form. createMlKem768Decapsulator accepts both of them.

      Parameters

      • seed: Uint8Array

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

      Returns Promise<Uint8Array<ArrayBufferLike>>

      A promise that resolves to the private key in the expanded form.