Make Sum() compatible with hash.Hash

Sum() can now be called repeatedly so that progressive hash values can
be generated.