Ruby MD5 or SHA1 hash cracking using a dictionary attack