Isn't the hash the hexadecimal number (what we're referring to)? And SHA-1 just the algorithm used to produce the hash?

You're right that this should be consistent with the terminology in the example, though. I'll update to use SHA in both places.