Coin Flip, Polyhedral Dice & Random Number
Cryptographically secure decision maker: 3D coin flipper with streak statistics, D&D tabletop polyhedral dice roller (D4-D100).
🔐 Cryptographic Hardware Unpredictability
Unlike standard math functions that use deterministic pseudorandom formulas (like Math.random()), this tool leverages the Web Crypto API CSPRNG (crypto.getRandomValues) to draw true physical entropy from your device hardware. Every flip, roll, and generated integer is mathematically unbiased and impossible to predict.
About this tool
How to use it
- Switch between the three random decision modes: Coin Flipper, Polyhedral Dice Roller, and Random Number Generator.
- For the Coin Flipper: tap 'Flip Coin!' or 'Flip 10x' to track heads/tails ratios and winning streaks.
- For the Dice Roller: select standard D&D polyhedral dice (D4 through D100), adjust dice quantity, and add roll modifiers.
- For the RNG: set your minimum/maximum range, choose how many integers to draw, and toggle unique numbers or sorting.
Why it matters
Basic browser random generators rely on pseudorandom software equations that repeat patterns over time. This tool harnesses the native Web Crypto API (crypto.getRandomValues), which gathers unpredictable physical entropy from your device's hardware, guaranteeing cryptographically fair outcomes for tabletop gaming and raffles.
When to use it
Use this tool to resolve sports coin tosses, roll Dungeons & Dragons attribute checks, play board games when physical dice are missing, draw lottery numbers, or generate random test data.
Good to know
Entropy engine uses window.crypto.getRandomValues() with 32-bit unsigned integer buffers, providing uniform probability distribution without bias.
Common questions
What makes this coin flipper mathematically fair?
It uses the browser's native cryptographic pseudo-random number generator (CSPRNG), which samples entropy from hardware interrupts and CPU thermal noise, eliminating predictability.
What tabletop RPG dice types are supported?
The dice roller supports all 7 standard polyhedral dice: D4, D6, D8, D10, D12, D20, and D100 (percentile), with custom quantity and positive/negative roll modifiers.
Can the RNG generate unique lottery picks without repeats?
Yes! Checking 'No duplicate numbers' enforces strict sampling without replacement, perfect for lottery picks (e.g. 6 of 49) or classroom prize drawings.
Does this require an internet connection?
No. The entire cryptographic engine and 3D animations execute 100% locally within your browser offline.