Show HN: I made a C program to create a vanity SHA-1 hash for a text file
a year ago
- #programming
- #SHA-1
- #vanity-hash
- The text describes a C program named 'vanity.c' that generates a SHA-1 hash with a specific target prefix.
- The program processes text to find combinations of word capitalizations that produce a hash starting with '20250327'.
- It includes functions for text normalization, hash computation, and word parsing, with a focus on avoiding URLs and non-alphabetic words.
- The program outputs progress and success messages, including the binary representation of the counter used in the search.
- It mentions the concept of 'lucky commits' in version control, where commit hashes have aesthetically pleasing or meaningful prefixes.