Function: kemSuites()
kemSuites(): readonly
SuiteInfo[]
Defined in: algorithms.ts:110
Lists every key-encapsulation suite this build supports. The list comes from the WASM core on the first call and is cached for the lifetime of the module.
Returns
readonly SuiteInfo[]
One SuiteInfo per KEM algorithm string.
Throws
if init() has not completed and the list is not cached yet.
Example
ts
const names = kemSuites().filter((s) => s.meetsCnsa2).map((s) => s.name);