Skip to main content

Module kem

Module kem 

Source
Expand description

Key encapsulation module for the KyberLib library.

Functionsยง

decrypt_message
Generates a shared secret for a given cipher text and private key.
encrypt_message
Generates cipher text and a shared secret for a given public key.
generate_key_pair
Generates a public and private key pair for CCA-secure Kyber key encapsulation mechanism.