Settings

Theme

SHA-256 0573e7473

susam.net

18 points by stargrave a year ago · 12 comments

Reader

messe a year ago

Not a repost, but similar has been done and posted before "The SHA256 for this sentence begins with: one, eight, two, a, seven, c and nine."[1][2], about a year ago.

[1]: https://twitter.com/lauriewired/status/1700982575291142594

[2]: https://news.ycombinator.com/item?id=37465086

noname120 a year ago

  echo -n 'The SHA-256 hash of this sentence begins with 0573e7473.' | sha256sum 
  0573e74731e90fed80059d65263d300d58c4a452012a69c56f0a58fcae0605ad  -
TheMechanist a year ago

Given that the AMD Ryzen 9 5950X can compute around 28.1 million SHA-256 hashes per second, the time required to calculate the hash of such a proposition including all possible 9-length hexadecimal strings to would be approximately: 68.72 x 10^9 strings/ 28.1 x 10^6 hashes per second ~= 2450 seconds. The hash starts with 0 so the calculation would have been much shorter i.e. just around 2 minutes. This can probably be explained in terms of the birthday collision problem.

  • dooglius a year ago

    I don't think anything about birthday collision is relevant here, having a collision doesn't help in this scenario.

elpocko a year ago

Gif that displays its own MD5 hash: https://shells.aachen.ccc.de/~spq/md5.gif

  $ md5sum md5.gif 
  f5ca4f935d44b85c431a8bf788c0eaca  md5.gif
GreenWatermelon a year ago

Oh a self referential statement!

https://en.m.wikipedia.org/wiki/Self-reference

tromp a year ago

9 hex digits makes for a 36 bit search space, so we can expect a solution in 64 billion hashes. moderately but not terribly impressive.

jannw a year ago

this is a relatively trivial looping programming task ... suitable for a 1st year comp sci student.

mansilladev a year ago

You mind mining a few blocks for me?

Cantinflas a year ago

That's a lof of GPU time right there

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection