Post
Topic
Board Beginners & Help
Merits 4 from 4 users
Re: Educational giveaway | guess first Bitcoin Block in 2020 [9.5 mBTC]
by
DdmrDdmr
on 03/12/2019, 17:06:19 UTC
⭐ Merited by 1miau (1) ,RapTarX (1) ,SFR10 (1) ,Upgrade00 (1)
Since all the science has already been used, and assuming that the range in the current entries is reasonable, I went for an approach similar to how the Magic Number for Legendary Activity is generated (with a change from sha1 to SHA2_256, since sha1 is deprecated on my SQL version, and a few others due to datatype stuff):
Quote
select 610357 + convert(int,convert(varbinary,convert(varchar,'0x' + substring(convert(varchar, HASHBYTES('SHA2_256',@MySeed),1),3,2),1),1))*2
Result: 610637