Module wasm

Source
Expand description

WebAssembly bindings for the KyberLib library.

Structs§

Kex
Represents Kyber encapsulated shared secret.
Keys
Represents Kyber key pair.
Params
Represents Kyber parameters.

Functions§

decapsulate
Decapsulate a ciphertext using the provided secret key.
encapsulate
Encapsulate a shared secret using the provided public key.
keypair
Generate a key pair for Kyber encryption.