Re:The SHA256 for this sentence begins with: one, eight, two...
by fbdab103 on Monday September 11, 2023 @11:24AM
(#37468672)
Iterating on the prefix sentence construction seems significantly more challenging that just looping through n digits with a counter.
"The SHA256 for this sentence begins with" : 0, 0, 0, 0, 0?
"The SHA256 for this sentence begins with" : 0, 0, 0, 0, 1?
"The SHA256 for this sentence begins with" : 0, 0, 0, 0, 2?
Make the n list as big of a search space as you are willing to compute, and there you go. Of course, given my luck, the hash would be f,f,f,f,f.
For each digit combination, you can try it with multiple variations of the sentence like "The SHA256 of this sentence begins with", "The SHA256 hash of this text starts with" and many more. That increases the search space without increasing the number of digits that have to match, making it more likely that a hit is found.