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