# File lib/chart-candy/authentication.rb, line 17 def self.tokenize(str) OpenSSL::HMAC.hexdigest(OpenSSL::Digest::SHA1.new, Rails.configuration.secret_token, str.chars.sort.join.gsub('/', '')) end