[−][src]Module pqcrypto::kem::frodokem1344aes
frodokem1344aes
These bindings use the clean version from PQClean
Example
use pqcrypto_frodo::frodokem1344aes::*; let (pk, sk) = keypair(); let (ss1, ct) = encapsulate(pk); let ss2 = decapsulate(ct, sk); assert!(ss1 == ss2);
Structs
Ciphertext | |
PublicKey | |
SecretKey | |
SharedSecret |
Functions
ciphertext_bytes | Get the number of bytes for the encapsulated ciphertext |
decapsulate | Decapsulate the received frodokem1344aes ciphertext |
encapsulate | Encapsulate to a frodokem1344aes public key |
keypair | Generate a frodokem1344aes keypair |
public_key_bytes | Get the number of bytes for a public key |
secret_key_bytes | Get the number of bytes for a secret key |
shared_secret_bytes | Get the number of bytes for the shared secret |