A C program for computing Hamming distances of random strings (for the EngineYard SHA1 contest)
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
check.c
engine2.c
run.sh
words.txt

README

Building on Linux:

    make linux

Building on OS X:

    make osx

Strategy:

This just tries combinations of 12 words from words.txt, and tests the Hamming distance to see if it's the lowest so far.
It doesn't append the 5 random characters and it doesn't mess with case.

Checking:

    make check

./check "some string" will print out the challenge hash, the hash of arg[1], and the Hamming distance.  You can use this
to double check results.