WHY2: Experimental Encryption
A modern, fast, and secure Rust crate designed for privacy-first applications. No S-boxes, just pure ARX-based diffusion.
Inside the REX Core
Interactive visualization of the WHY2 encryption pipeline.
Educational Visualization: This simplified demo uses a 4x4 byte matrix. The actual REX protocol is far more complex, employing 64-bit arithmetic, deterministic grid shuffling, secure key scheduling, and 14 cryptographic rounds. The visual effects shown here illustrate the flow of data but do not represent the full mathematical precision of the cipher.
INITIALIZATION
Loading the unique Block Counter (Nonce).
<Key Features/>
Built from the ground up with security and performance in mind
fn quick_start()
Get started with WHY2 in seconds
use why2::encrypter;
fn main()
{
let message = String::from("Privacy is a right.");
let encrypted = encrypter::encrypt_string::<8,8>(&message, None)
.expect("Encryption failed.");
for grid in &encrypted.output
{
println!("Encrypted Grid: {}", grid);
}
}Powers a minimalist chat application
WHY2 isn't just a library — it's the backbone of a secure text and voice messaging platform designed for individuals and small groups who value their privacy above all else.
"If privacy is outlawed, only outlaws will have privacy."
- Phil Zimmermann
Security Disclaimer
WHY2 is an experimental algorithm loosely inspired by AES. It has not undergone formal cryptographic audit. Use for educational purposes and personal privacy experiments, not for high-assurance systems or production environments where security is critical.