checking for malformed md5