v1.4.5 — "Muddy Cat"

WHY2: Experimental Encryption

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

$ cargo install why2-chat

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.

COUNTER_BLOCK_IN
PROCESSING...
00
00
00
01
A1
B2
C3
D4
10
20
30
40
99
88
77
66
STARTREADY

INITIALIZATION

Loading the unique Block Counter (Nonce).

<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::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 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

Self-HostedMinimalistVoice Chat SupportTerminal-BasedNo TelemetryOpen Source

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