Correcting Digest.mods()