View difference between Paste ID: WzfL8e0e and i0tnL0r9
SHOW: | | - or go back to the newest paste.
1
crypto=require('crypto');
2
3
for (var i=0; true; i++) {
4-
  var myhash=crypto.createHash('sha512').update(""+i+"5748211839773").digest('hex');
4+
  var myhash=crypto.createHash('sha512').update("5748211839773"+i+"").digest('hex');
5
  if (myhash[0]==0 && myhash[1]==0 && myhash[2]==0 && myhash[3]==0 && myhash[4]==0) {
6
    console.log(i);
7
    break;
8
  };
9
};