Taking care of the first arg; only accept MD5 or SHA1 algorithms