updated sha1 to sha256