PQX
Exchange keys using X25519 and PQC-Kyber to be quantum-resistant.
Usage
# Cargo.toml
[]
= "0.1"
// main.rs
use channel;
use Duration;
use thread;
use *;
let = channel;
let = channel;
let thread = spawn;
let alice_s = default;
let pubkey = receiver1.recv_timeout.unwrap;
let kyberelem = new.unwrap;
sender2.send.unwrap;
let shared = getfromshared.unwrap.getshared;
let result = thread.join.unwrap.getshared;
assert!;
//println!("Valid shared, got {}",hex::encode(shared.get()))
Informations
This crate has not undergone any security audit and should be used with caution.