Fix Digest deprecation warning on ruby 2.1

I'm not sure what effect this will have on older ruby versions.  Let's see what the tests say.