Update Digest invocation to avoid deprecation warning

I noticed I was getting deprecation warnings from the old Digest syntax so I patched it. Tests still pass and the output of the new Digest call is the same as the old one.