Remove vestigial memoization of digest/sha-1

The new version of the digest library has switched from using a
multimethod (which is slower) to a protocol (which is faster).