Date Add / Subtract Calculator
About Random Boolean Generator
The Cryptographic Random Boolean Generator (Coin Flipper) creates true/false boolean sequences, coin toss flips (Heads/Tails), binary bits ($0/1$), and boolean arrays with customizable probability weighting ($P(True) = X\%$).
How to Use Random Boolean Generator
Step 1
Choose output format (`true/false`, `Heads/Tails`, `1/0`, `Yes/No`).
Step 2
Set true probability weighting (default: 50% for a fair flip).
Step 3
Specify number of flips/booleans and click "Flip / Generate".
Step 4
Click "Copy Array".
Practical Use Cases for Random Boolean Generator
Provably Fair Coin Toss & Decision Making
Flip a fair 50/50 virtual coin backed by cryptographic hardware entropy for unbiased dispute resolutions and sports coin tosses.
A/B Testing Random Variant Assignment & Chaos Engineering
Simulate randomized feature flag rollouts and boolean failure injections with custom probability weights (e.g. 10% failure rate).
Input & Output Examples
Generating 5 Biased Booleans ($P(True) = 80\%$)
Probability: `80% True`, Count: `5`, Format: `Boolean Array`
Result: `[true, true, true, false, true]` | Heads/Tails: `4 Heads, 1 Tail`
Key Features & Performance
- ✓Custom Probability Weighting: set true probability from $0\%$ to $100\%$ with 0.1% accuracy.
- ✓Output Formats: `true/false`, `1/0`, `Heads/Tails`, `Yes/No`, `Pass/Fail`, and JSON Array.
- ✓Live Statistical Balance Counter: displays running count of True vs. False outcomes and experimental percentage.
- ✓100% Client-Side memory execution.
- ✓1-Click Copy boolean array.
Key Terminology & Definitions
Bernoulli Trial
A random experiment with exactly two possible outcomes (success or failure), in which the probability of success is the same every time.
Biased Coin (Weighted Boolean)
A probability model where one outcome has a probability greater than 50% (e.g. 70% True and 30% False).
