Modify query for decrypt_hashes to be specific to MD5 or SHA1 hashes