Appearance
@pqc-sdk/core / KEM_NAMES
Variable: KEM_NAMES
constKEM_NAMES:string[]
Names of the KEM algorithms pqc.encrypt/pqc.decrypt accept, for introspection — e.g. validating a key file holds an encryption key rather than a signing key, without hardcoding the list.
Example
ts
import { KEM_NAMES } from '@pqc-sdk/core';
KEM_NAMES.includes('x-wing'); // true