# File lib/mixlib/authentication/digester.rb, line 40 def hash_string(str) ::Base64.encode64(Digest::SHA1.digest(str)).chomp end