The scenario described within the query is
| Preimage | Hash |
|---|---|
| unknown | 8d2c7a6a124d1551 884798d76c8aedab 36908bf3 |
0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
8d2c7a6a124d1551 884798d76c8aedad 36908bf3 |
There isn’t any technique to compute the “unknown” preimage as a result of the hashing algorithm is designed to forestall precisely this.
That is true even when you realize of a preimage that produces a really comparable hash.
Any change in a preimage, even a tiny change, will produce a fully totally different hash1, not only a hash with a one-bit distinction. If this weren’t so, anybody may use a hill-climbing algorithm or another course of to steal all the cash within the blockchain destroying Bitcoin and breaking many different vital techniques utilizing the identical hash algorithm.
Due to this fact the 1-bit distinction can solely be defined as a transcription error when transcribing the hash (or less-likely, as a uncommon 1-bit error in pc {hardware}, for instance these very sometimes produced by cosmic rays excessive within the ambiance or in house).
It’s fully doable that there isn’t a doable Bitcoin script that can hash to the primary hash worth. I am no mathematician however I would not be stunned if the chances are extremely small {that a} usable preimage even exists.
The tip result’s that the cash related to the primary hash is endlessly unspendable.
Addendum
- I computed hashes for all doable 1-bit variations to point out that even small modifications to the preimage will trigger a big, unpredictable, seemingly random, impact on the hash:
| bit | Preimage | Hash160 | Distinction |
|---|---|---|---|
| unknown | 8d2c7a6a124d1551 884798d76c8aedab 36908bf3 |
||
0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
8d2c7a6a124d1551 884798d76c8aedad 36908bf3 |
1 | |
| 1 | 0500f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
de8ad800d2fdd360 5e110e89cd649f71 02051950 |
77 |
| 2 | 0600f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
7bd194571d920d65 4a51374709d12df3 0769fdc5 |
86 |
| 3 | 0000f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
9dab05f599ca5db0 f558d101496ef117 6ecde722 |
82 |
| 4 | 0c00f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
74600dd550bc3ddd bcbaddf49688d1f3 b0ad42d2 |
78 |
| 5 | 1400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
c689ec9aa519a896 6c999c586c44de58 3be005e2 |
79 |
| 6 | 2400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
ebd177db96ae3f5c 13c3eb0e905c15f7 74cd4317 |
82 |
| 7 | 4400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
5e3f90dd2530017e aaed0267462cce04 943038d9 |
79 |
| 8 | 8400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
9a933d178607b0c4 40fd770979448ff9 fcb70b42 |
83 |
| 9 | 0401f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
af6051ee1b1d91ed 3c4c03bfddd60acc 93041db3 |
68 |
| 10 | 0402f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ac |
dc4a5c36ed803b00 d6b6e084071e1f4c 6cd3a9dd |
84 |
| … | … | … | |
| 247 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd8c8ac |
2a2fa831f6b25915 96cee5f6334622da 56235f79 |
82 |
| 248 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd808ac |
80d021ed7df02ae0 8c11e13759558e70 486ed38a |
95 |
| 249 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ad |
4e1a859d012c3b08 63d04693e6ef054d e4cd12ca |
89 |
| 250 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ae |
23bf2696544bac51 7f01626ef5126e3d a998585f |
80 |
| 251 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888a8 |
c9c95d8525a2f3f7 ed5aac83990e985a 8d1c023b |
86 |
| 252 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888a4 |
63f2151847132dd9 afdaed2372fa8736 62c6d128 |
88 |
| 253 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888bc |
244fda7ea4cb4bc6 47dc64d5376e727e 4e5b7ced |
88 |
| 254 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd8888c |
d244559645d2765e 1a709d8467677bc6 129ad78f |
84 |
| 255 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd888ec |
79e79188360a0803 42b4a890799b2424 6302cc1c |
81 |
| 256 | 0400f6f87bb17576 a91470b38fc510ae 4a633b4410a25a17 c16bbd215cd8882c |
563207df8ba3a3f1 2a75da7964a492c5 e6a59838 |
83 |
The final column is the variety of bits within the hash that differ from the corresponding bit within the hash of the unknown preimage.
As anticipated, not one of the hashes of variations look remotely near the required hash.
This could make it clear why any variation of the script is extraordinarily unlikely to get its hash nearer to the specified hash
