v0.2.9-rex — Drunk Mouse

WHY2: Experimental Encryption

A modern, fast, and secure Rust crate designed for privacy-first applications. No S-boxes, just pure ARX-based diffusion.

$ cargo add why2

<Key Features/>

Built from the ground up with security and performance in mind

ARX Architecture
Uses nonlinear Addition, Rotation, and XOR transformations instead of traditional S-boxes for cryptographic diffusion.
Grid-Based
Unique input and key data formatting into grids with customizable dimensions for flexible encryption schemes.
Rust Native
Built for speed and safety, fully written in Rust with zero unsafe code and maximum performance.
Privacy First
Zero telemetry, no metadata leakage, designed for self-hosting and complete data sovereignty.

fn quick_start()

Get started with WHY2 in seconds

main.rs
use why2::core::rex::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);
    }
}
$cargo add why2
// Proof Of Concept

Powers a minimalist chat application

WHY2 isn't just a library — it's the backbone of a secure 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

Self-HostedEnd-to-EndZero Knowledge

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.

Experimental — Use with caution