Implement sha1AddRange

Also externally expose it and modify the unit test to use this
routine.