Use SHA1 instead of MD5

MD5 is outdated and insecure