Crate streamlined_ntru_prime

Crate streamlined_ntru_prime 

Source

Constants§

CT_SIZE
K_SIZE
P
PK_SIZE
Q
SK_SIZE
W

Functions§

decapsulate
Decapsulates ciphertext with a known private key. Returns a result containing the shared key.
encapsulate
Encapsulates a public key. Returns a ciphertext and shared key
generate_key
Generates a public and private keypair