Function
Factory function to create a HQC-192 KEM instance
Initialized HQC-192 instance
createHQC192
If module initialization fails
import { createHQC192 } from '@openforge-sh/liboqs';const kem = await createHQC192();const { publicKey, secretKey } = kem.generateKeyPair();kem.destroy(); Copy
import { createHQC192 } from '@openforge-sh/liboqs';const kem = await createHQC192();const { publicKey, secretKey } = kem.generateKeyPair();kem.destroy();
Factory function to create a HQC-192 KEM instance