Update interface.rb

Removes deprecated access to Digest. This raises a deprecation warning in ruby 2.1.
Merge pull request #1 from CallumD/patch-1

Update interface.rb