Update interface.rb

Removes deprecated access to Digest. This raises a deprecation warning in ruby 2.1.