Created
April 14, 2018 18:29
-
-
Save xd4rker/ee1657d3fd4581ed647a4c7fa64b92a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var answerHash = '0xdb81b4d58595fbbbb592d3661a34cdca14d7ab379441400cbfa1b78bc447c365'; | |
for(var i=0; i<2000; i++) { | |
if(web3.sha3(i.toString(16), {encoding: 'hex'}) == answerHash) { | |
console.log('Answer Found: ' + i); | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment