Skip to content

Instantly share code, notes, and snippets.

@scottwb
Created September 18, 2012 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottwb/3740926 to your computer and use it in GitHub Desktop.
Save scottwb/3740926 to your computer and use it in GitHub Desktop.
signature = ""
signature << "id=#{id}"
signature << "carrier=#{carrier}"
signature << "wireless_number=#{wireless_number}"
signature << "status=#{status}"
signature << "secret=#{PUBLICATION_SECRET}"
signature = Digest::SHA1.hexdigest(signature)
puts signature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment