Switch from Digest::SHA1 to Digest::SHA.

Resolves #176.