🔱 Architecture v5 Parity 🔱

RUDRA512

The Divine Edition

Forged in the fires of Kailash. Featuring Scattered Salt Injection · Tokenization Pipeline · SipHash 4-Word Mixer · HAIFA Double Finalization. A 512-bit cryptographic hash function designed to withstand the tests of time and compute.

512Bit Digest
8×64State Words
32Default Rounds
~50%Avalanche
॥ The Altar of Hashing ॥

Invoke the Hash

Offer your message and sacred salt. Witness the irreversible 512-bit transformation driven by Mahadev's logic.

Digest Revealed
0.00ms
📏 Length
🧂 Salt Info
॥ The Eight Paths ॥

Architecture (v5 Parity)

01
SSI

Scattered Salt

Salt bytes are dynamically placed at independent positions via a 4-word SipHash-derived scatter and quadratic-style stride probing algorithm.

pos[i] = f(data_hash, salt_hash, i)
02
TPL

Token Pipeline

Buffer splits into tokens. Each undergoes a Fisher-Yates byte shuffle and rolling SipHash-driven XOR before absorption.

shuffle(token, fisher_yates(th))
03
SHM

SipHash-2-4 Mixer

A true 4-word SipRound engine replaces generic mixing, guaranteeing excellent avalanche properties for internal metadata.

sip4_compress(v0, v1, v2, v3);
04
WHT

Scaling Whitening

All 8 words are XOR'd with specific constants and salt tweaks, then fully permuted for proportional clamp(2 + R/16, 2, R) rounds.

s[i] ^= WK[i] ^ rotl(salt_h, ...)
05
SYM

Two-Snapshot Permute

Permutations capture explicit round snapshots before each loop to ensure symmetric processing and absolute parity across words.

s[i] += rotl(mid[(i+mix3)%8],...)
06
HFA

HAIFA Finalization

A running entropy accumulator feeds into a rigorous double finalization process, neutralizing standard length-extension attacks.

s[0] ^= orig_len ^ DOM_FINAL
॥ The Dance of Nataraja ॥

Permutation Stepper

Step through the mathematical choreography of the v5 hash. Watch the state registers evolve block by block, culminating in the HAIFA double finalization sequence.

Phase: Idle | Op:
Press Initialize State to load the current input into the stepper.
॥ The Third Eye's Glare ॥

Avalanche Effect

A single altered bit creates cosmic chaos. Modify the inputs below and observe the Strict Avalanche Criterion (SAC) targeting ~50% bit flip.

॥ The Cosmic Trial ॥

Benchmark & Security

Algorithm Bit Freq (0/1) Entropy Avalanche Speed (H/s) Collisions
Rudra-512 (Divine v5) 50.025% 1.000000 50.130% 142,500* 0
SHA-512 49.737% 0.999980 49.719% 860,149 0
SHA3-512 49.658% 1.000000 50.140% 653,170 0

* Rudra-512 is intentionally compute-heavy. The Scattered Salt Injection, Tokenization Pipeline, and Full-Round Whitening serve as deliberate deterrents to ASIC/GPU brute-forcing, acting akin to key-stretching functions while remaining a general-purpose hash.