logoalt Hacker News

keepamovinlast Wednesday at 2:43 AM3 repliesview on HN

No but perhaps you can create at git-coin command?

I added three new options

  --difficulty <leading zeroes>

  --prefix <leading digits>

  --hex-prefix <leading hex digis>
Be warned tho, this makes it excessively hard. It takes a long long time.

Replies

brwlast Wednesday at 3:44 PM

What about changing the committer timestamp slightly until you find a match like https://github.com/mattbaker/git-vanity-sha? That would make it entirely invisible

show 1 reply
haute_cuisinelast Wednesday at 10:50 AM

Wow, that's fast. Do you know if committer's email also goes into calculation of a git hash? If it is, it should be possible to manipulate git hash in a very discrete way through the email address like this: user+<nonce>@example.com

show 1 reply