Rename function to sha1_transform so it won't be confused with SHA-2 transform