Expand description
mceliece6688128f
These bindings use the clean version from PQClean
Example
// if using pqcrypto-classicmceliece
use pqcrypto_classicmceliece::mceliece6688128f::*;
// or if using the pqcrypto crate:
// use pqcrypto::kem::mceliece6688128f::*;
let (pk, sk) = keypair();
let (ss1, ct) = encapsulate(&pk);
let ss2 = decapsulate(&ct, &sk);
assert!(ss1 == ss2);
Structs
Functions
- Get the number of bytes for the encapsulated ciphertext
- Decapsulate the received mceliece6688128f ciphertext
- Encapsulate to a mceliece6688128f public key
- Generate a mceliece6688128f keypair
- Get the number of bytes for a public key
- Get the number of bytes for a secret key
- Get the number of bytes for the shared secret