Remove deprecation warnings on ruby 2.1

This removes deprecation warnings that I just noticed on ruby 2.1:

```
Digest::Digest is deprecated; use Digest
```

I tested this on ruby 1.9.3, 2.0, 2.1 and jruby-1.7.9 and all tests pass.