Skip to main content

Crate kyber_pke

Crate kyber_pke 

Source

Enums§

Error

Functions§

ct_len
returns the ciphertext expected length given an input plaintext length
decapsulate
Decapsulates ciphertext with a secret key, the result will contain a KyberError if decapsulation fails
decrypt
encapsulate
Encapsulates a public key returning the ciphertext to send and the shared secret
encrypt
encrypt_into
kem_keypair
pke_keypair
plaintext_len