// Inspired by Lord Shiva · Built in C++ · 512-bit digest · BPE Tokenization · Embedded Salt · Asymmetric Rotations
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 hash-derived scatter algorithm, preventing clustering.
Buffer splits into variable-length tokens. Each undergoes a Fisher-Yates byte shuffle and rolling XOR before absorption.
A robust 2-round SipRound-inspired 64-bit mixer guarantees excellent avalanche properties for internal metadata hashing.
Cryptographic separation guarantees inputs hashed as strings vs files start with mathematically distinct IVs.
All 8 words are XOR'd with specific constants and salt tweaks, then fully permuted to erase IV-recovery vectors entirely.
Period-64 rotation schedule ensures all offsets are strictly within [1, 63]. No undefined behavior (UB), maximizing diffusion.
Step through the mathematical choreography of the hash. Watch the state registers evolve block by block in true 3D space.
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) | 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.