Changed Digest::SHA1 to Digest::SHA for Ubuntu 12.04 compatibility