Most active commenters
  • keepamovin(6)

56 points keepamovin | 26 comments | | HN request time: 1.168s | source | bottom
1. keepamovin ◴[] No.43503864[source]
After experimenting with cycling punctuation, and random capitalization I hit on the idea to use each word as a bit and map the original version of the word to 0 and the title-case-toggled version of the word to 1.

Then just use the text file as a "counter nonce" and count from 0 until we find a counter that hashes to the vanity prefix we want.

The advantage of this is flipping the capitalization of the first letter of each word doesn't drastically alter the visual appearance of the file (tho it may alter semantics!), and you get an easy to understand amount of entropy (number of states) to walk through.

The C version linked only supports counting up to ~4 billion but it could be easily extended. A JS version using BigInt can go unlimited.

For reference the included example text took a surprising 2 billion iterations to discover the correct 8 digit hash which is about what you'd expect from random (i.e., half the state space of 16*8 = (2*4)*8)

2. susam ◴[] No.43529658[source]
The SHA-256 hash of this sentence begins with 0573e7473.
replies(4): >>43537587 #>>43538891 #>>43542048 #>>43542697 #
3. kazinator ◴[] No.43537468[source]
Don't bother applying here if your github doesn't look like this:

  $ git log --oneline
  deadbeef5 (HEAD -> master): Revised documentation of frobozz widget.
  0cafef00d scrot_compress: fixed rare recursion case.
  5ca1ab1e1 image_convolve: use thread pool for better performance.
replies(4): >>43537688 #>>43537775 #>>43540440 #>>43541771 #
4. orphea ◴[] No.43537587[source]
The SHA256 for this sentence begins with: one, eight, two, a, seven, c and nine.
replies(2): >>43538792 #>>43542716 #
5. coolThingsFirst ◴[] No.43537688[source]
what?
replies(2): >>43537726 #>>43537728 #
6. coolThingsFirst ◴[] No.43537695[source]
Interesting, also this quote is as interesting as the code:

"Your job, throughout your entire life, is to disappoint as many people as it takes to avoid disappointing yourself."

replies(1): >>43540784 #
7. frutiger ◴[] No.43537726{3}[source]
Read the commit sha prefixes as English
8. celegans25 ◴[] No.43537728{3}[source]
Look at the hashes of the commits
9. jagged-chisel ◴[] No.43537775[source]
Sadly, you won’t get any senior applicants if you’re mistaking the website for the tool.
replies(1): >>43537865 #
10. kazinator ◴[] No.43537865{3}[source]
Here, that touch is necessary for a hint of realism.
11. tmountain ◴[] No.43538792{3}[source]
Oh boy, here we go…
12. xeckr ◴[] No.43538891[source]
Nice one.
13. saulpw ◴[] No.43539930[source]
Cool! I made a multithreaded version about 10 years that works for binary files like .zip files: https://github.com/century-arcade/src/tree/master/tools/vain...
replies(1): >>43542711 #
14. actinium226 ◴[] No.43540440[source]
I don't get the last one?
replies(2): >>43540474 #>>43540484 #
15. ◴[] No.43540474{3}[source]
16. ruffrey ◴[] No.43540484{3}[source]
"scalable"
17. metadat ◴[] No.43540784[source]
That took a second to process and sink in.

Added to my shameful, neurotic HN profile.. haha, thank you!

18. TZubiri ◴[] No.43541771[source]
This is cute but it works in the opposite for me, looks very unprofessional and gives the impression you get distracted with nerdy internals instead of building product.
replies(1): >>43541895 #
19. fyrn_ ◴[] No.43541895{3}[source]
On the other hand, where I work we want people like that. Not every place is a CRUD slop shop with joined at the hip SPA that needs more meat for the ginder. Research and specialized optimization roles exist
20. akoboldfrying ◴[] No.43542048[source]
The SHA-256 hash of this sentence does not.
21. keepamovin ◴[] No.43542697[source]
OK, that's a cool way to fuzz the digest rather than the text :)
22. keepamovin ◴[] No.43542711[source]
Cool! How do you handle internal checks in the files? How does overwriting 8 zeroes not break stuff?
replies(1): >>43548335 #
23. keepamovin ◴[] No.43542716{3}[source]
That's a fun way to do it! :)
24. saulpw ◴[] No.43548335{3}[source]
Well it was intended/used to fill out a .zip file comment section, so those 8 zeroes were ignored anyway.
replies(1): >>43553231 #
25. keepamovin ◴[] No.43553231{4}[source]
Smart!