(1) Changed to sha1 naming and comments. (2) Changed magic value into proper round constant.