Added a hash generator to test this stuff against