replaced MD5 with SHA1