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

    Interface MlKemEncapsulatorInterface

    Interface for encapsulation of ML-KEM with the public key which the instance holds.

    Use the async factory functions createMlKem512Encapsulator, createMlKem768Encapsulator, or createMlKem1024Encapsulator to create instances that implement this interface.

    interface MlKemEncapsulatorInterface {
        encap(
            opts?: MlKemEncapOptions,
        ): Promise<[Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>]>;
    }
    Index