Skip to content

Instantly share code, notes, and snippets.

@basicxman
Created October 25, 2011 21:17
Show Gist options
  • Select an option

  • Save basicxman/1314311 to your computer and use it in GitHub Desktop.

Select an option

Save basicxman/1314311 to your computer and use it in GitHub Desktop.
authentication[:oauth_signature] = Base64.encode64(OpenSSL::HMAC.digest("sha1", @secret, signature_base)).strip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment