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.
Offer your message and sacred salt. Witness the irreversible 512-bit transformation driven by Mahadev's logic.
Salt bytes are dynamically placed at independent positions via a 4-word SipHash-derived scatter and quadratic-style stride probing algorithm.
Buffer splits into tokens. Each undergoes a Fisher-Yates byte shuffle and rolling SipHash-driven XOR before absorption.
A true 4-word SipRound engine replaces generic mixing, guaranteeing excellent avalanche properties for internal metadata.
All 8 words are XOR'd with specific constants and salt tweaks, then fully permuted for proportional clamp(2 + R/16, 2, R) rounds.
Permutations capture explicit round snapshots before each loop to ensure symmetric processing and absolute parity across words.
A running entropy accumulator feeds into a rigorous double finalization process, neutralizing standard length-extension attacks.
Step through the mathematical choreography of the v5 hash. Watch the state registers evolve block by block, culminating in the HAIFA double finalization sequence.
A single altered bit creates cosmic chaos. Modify the inputs below and observe the Strict Avalanche Criterion (SAC) targeting ~50% bit flip.
| 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.