Bitcoin Forum
May 10, 2024, 06:10:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Decentralized approach to Random Number Generation  (Read 131 times)
truedeckTeam (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 1


View Profile WWW
March 17, 2018, 11:57:36 AM
 #1

Can a truly trustless Random Number Generation can be created by a group of participants in a decentralized manner!

Here is the proposed algorithm:
  • Everyone picks a secret number from 0 to M-1
  • Everyone appends a load of random gunk to their number and hashes the result with a secure hash
  • Everyone commits their hash to a smart contract.
  • When all participants have committed the hash, everyone submits their secret number, plus the random gunk they appended to it.
  • Smart Contract verifies that the secret numbers and hashes match.
  • Add all the secret numbers together modulo M, then adds 1 to get the final result.
   
What are your opinion about such an algorithm will work or not on a blockchain!

References:
https://stackoverflow.com/questions/224058/distributed-random-number-generation#answer-224067

The post has a date prior to the birth of bitcoin. So, in present world of blockchain with smart-contracts, can such an algorithm work successfully?
What are the possible causes that can make it not work!

Any views from the community is welcome!
1715364639
Hero Member
*
Offline Offline

Posts: 1715364639

View Profile Personal Message (Offline)

Ignore
1715364639
Reply with quote  #2

1715364639
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715364639
Hero Member
*
Offline Offline

Posts: 1715364639

View Profile Personal Message (Offline)

Ignore
1715364639
Reply with quote  #2

1715364639
Report to moderator
truedeckTeam (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 1


View Profile WWW
March 30, 2018, 03:39:21 AM
 #2

If anyone wants to help, please post here
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!