RRG314/RGE-256-app: RGE256 Demo v1.1.0

Read full text
Authors: Steven Reid, Claude
Cited by: 0

Abstract

RGE256 Demo v1.1.0 🚀 Major Update: RGE256-Safe Algorithm This release upgrades the core PRNG to RGE256-Safe, featuring 64-bit counter protection for guaranteed reliability. Why This Matters Before | After (v1.1.0) -- | -- Potential bad seeds | No bad seeds — all seeds work correctly Variable cycle length | Guaranteed 2^64 minimum period Complex state management | Simplified ARX core Installation Direct Use: Download index.html Open in any modern browser PWA Install: Chrome/Edge: Click install icon in address bar Android: "Add to Home Screen" iOS: Safari Share → "Add to Home Screen" Full Changelog Added RGE256-Safe algorithm with 64-bit counter Counter mixed into output via XOR and rotation Changed App title: "RGE256 Demo" Header: "🎲 RGE256 Demo" All new RGE256() calls updated to new RGE256Safe() Fixed resetAll() now resets all games: 🎲 Dice roller 🪙 Coin flipper 🃏 Card drawer 🎰 Lottery generator Technical Details The new algorithm adds a 64-bit counter that increments on every call and mixes into the output: // Counter increment (64-bit) this.counterLow = (this.counterLow + 1) >>> 0; if (this.counterLow === 0) { this.counterHigh = (this.counterHigh + 1) >>> 0; } // Mixed into output return (s[0] ^ rotl32(s[4], 13) ^ c0 ^ rotl32(c1, 7)) >>> 0; This guarantees the generator never enters a short cycle, regardless of seed. Author Steven Reid (ORCID: 0009-0003-9132-3410) [index (1).html](https://github.com/user-attachments/files/24535709/index.1.html) [README_full (1).md](https://github.com/user-attachments/files/24535715/README_full.1.md)

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
9 January 2026