When a developer wants a random number, they simply type in the command “Math.random()”, and a random number will be generated. Though helpful for developers to come up with a random number, on the blockchain, it doesn’t work. Instead of numbers being completely random, computers in the network need to arrive at the same number, not together, but independently. The reason is that using Math.random() would result in many different computers coming up with many different numbers. This would produce different results for each computer and break blockchain agreement. Because of this, blockchain protocols don’t just randomly generate numbers. They manufacture numbers that behave unpredictably. Sealed Envelopes, and Who Opens Last Ethereum runs a commit-reveal scheme. Simply, everyone submits a sealed answer first and opens it later, so nobody can change theirs after seeing anyone else’s. Validators, which are operators who confirm the transactions, each pick a secret number and then publish it scrambled. The scrambling runs one way only, so the sealed version gives nothing away. They then reveal the number in a set order, and each is mixed into a running total. Every validator sees the ...
There is no Math.random() on a blockchain
1 month ago
19
Related
Pro-war parties dominate Russian elections amid Ukraine conf...
24 minutes ago
0
Defense Production Act set to expire as Trump eyes AI contro...
26 minutes ago
0
Russia targets Ukraine railways, disrupting transport and su...
27 minutes ago
0
Investors scramble for Anthropic exposure ahead of what coul...
27 minutes ago
0
Blackstone secures loan to acquire Flow Control Holdings, be...
28 minutes ago
0
$515M liquidated from cryptocurrency market in 24 hours
36 minutes ago
2
Global M&A activity surges 49% in 2025 as megadeals reshape ...
37 minutes ago
0
US sanctions Iranian crypto exchange and its software develo...
40 minutes ago
0
Tips
Online Tools
Site DoctorIcon Generator
Online Web Tools Collection 1
Online Web Tools Collection 2
Website Analysis
Website SEO
Domain Availability Check
Free videos download
Useful Information
Collection of Useful LinksListen to Free Radio
Listen to Free Music
Free Movie Information
IT Blog
IT News
IT Information
English Address Info
Global News Information
Global Bible Information
Global Book Information
Global Comic Book Information
Global Music Information
BTS, BlackPink Information
Cryptocurrency Information
Pet Dog Information
Overseas Real Estate Information
Cooking Information
Health Information
Overseas Travel Information
click
Popular
Starknet shields 45 assets with new privacy framework
1 week ago
37
© Clint's Cryto News 2026. All rights are reserved
















English (US) ·