Something went wrong. Try again.
A whimsical STROBE inspired encryption protocol
Something went wrong. Try again.
656 B · 22 lines
Rust
1234567891011121314151617181920212223#![no_std]#![forbid(unsafe_code)]
use ml_kem::{MlKem512, MlKem768};pub use wharrgarbl_strobe::{Sec128, Sec256};
pub mod handshake;pub mod transport;
extern crate alloc;
/// Version of WHARRGARBL that this crate implements.pub static WHARRGHARBL_PROTO: &str = "WGBL-v0.1-STv1.0.2";
pub mod utils { pub use wharrgarbl_utils::BufferSlice;}
pub type ClientHandshake128 = handshake::ClientHandshake<Sec128, MlKem512>;pub type ServerHandshake128 = handshake::ServerHandshake<Sec128, MlKem512>;pub type ClientHandshake256 = handshake::ClientHandshake<Sec256, MlKem768>;pub type ServerHandshake256 = handshake::ServerHandshake<Sec256, MlKem768>;