Comparison with other RNGs
Use this table to compare the most popular Random Number Generators.
Random.win | Chainlink VRF | Quantum RNG chips | Random.org | Javascript Math.random() | |
---|---|---|---|---|---|
Works for offchain & onchain apps | ✅ We have a Web2 API for offchain apps and a Web3 API for onchain apps | ❌ Onchain only | ❌ Offchain only | ❌ Offchain only | ❌ Offchain only |
Built-in random draw features | ✅ | ❌ | ❌ | ✅ | ❌ |
Setup | ✅ No account creation needed. Connect to our API using your existing Ethereum address | 🟧 You need to hire developers to create a full-fledged smart contract from scratch | 🟧 Lengthy shipping & tedious installation | 🟧 You need to create a paid account in order to use their API | ✅ No setup |
Unpredictable random numbers | ✅ A proof of randomness is verified onchain before the randomness is delivered to you | ✅ A proof of randomness is verified onchain before the randomness is delivered to you | 🟧 In theory yes, but it can be backdoored | 🟧 In theory yes, but it can be backdoored | ❌ Use a predictable seed such as the current time |
Trustless | ✅ Because the source code is tamper-proof we have no way to manipulate the randomness even if we wanted to | ✅ Tamper-proof source code | ❌ You have to trust the whole hardware supply chain and that no one implemented a backdoor | ❌ They say they use atmospheric noise but they could as well just give you fake numbers and you wouldn't be able to detect it | ✅ |
Verifiable | ✅ The random numbers can be verified onchain in 10 seconds without any prior knowledge of Ethereum | ✅ Verifiable smart contracts | ❌ Your company can claim to use a QRNG but your users won't be able to verify this claim | ❌ Your users cannot verify that you have really used random.org. On top of that, random.org itself isn't verifiable. | ❌ |
Legal protection | ✅ No one can sue your company because you can prove your game outcomes thanks to the blockchain | ✅ No one can sue your company because you can prove your game outcomes thanks to the blockchain | ❌ Nothing can be proved | ❌ Nothing can be proved | ❌ Nothing can be proved |
User experience | ✅ Your users immediately know that you're legit because you're using smart contracts | ✅ Your users immediately know that you're legit because you're using smart contracts | ❌ From the user point of view your system is a black box | ❌ From the user point of view your system is a black box | ❌ From the user point of view your system is a black box |
Open source | ✅ | ✅ | ❌ | ❌ | ✅ |
Audited | ✅ GLI-19 certified | 🟧 Their raw randomness is GLI-19 certified, however if you use it to create your own random draw algorithm on top of it, the resulting solution won't be GLI-19 certified | ✅ | 🟧 In theory yes, but you have no guarantee that they use the algorithm that was audited | ❌ |
Availability | ✅ Ultra reliable. Since its launch in 2015, Ethereum has never experienced any downtime or outage of any sort. | ✅ Uses blockchain as well | ✅ | ❌ Their server has been down several times in the past | ✅ |
Automation | ✅ You can make a request now but schedule the randomness generation to be executed sometime in the future. This is very useful for example if you host a lottery every day at the same time | ❌ You need to use something like a cron job to automate your requests | ❌ You need to use something like a cron job to automate your requests | ❌ You need to use something like a cron job to automate your requests | ❌ You need to use something like a cron job to automate your requests |
Generation time | ✅ Takes 5 seconds to generate the randomness but you can make requests ahead of time in order to receive the randomness exactly when you need it | 🟧 Takes 5 seconds to generate the randomness | ✅ Instant | ✅ Instant | ✅ Instant |
Pay in | ✅ Crypto or fiat | 🟧 Crypto only | 🟧 Fiat only | 🟧 Fiat only | ✅ Free |