Fixed a really stupid bug in hashWithSalt1. It shouldn't loop forever any more.