Skip to content

@pqc-sdk/core / GenerateOptions

Interface: GenerateOptions<A>

Options for generate.

Type Parameters

A

A extends Algorithm = Algorithm

Properties

algorithm?

readonly optional algorithm?: A

Algorithm of the pair. Default: 'x-wing' (the X25519 + ML-KEM-768 hybrid KEM). Pass 'ml-kem-768' for the pure post-quantum KEM, or 'ml-dsa-65' for signing.