Created
October 13, 2016 14:33
-
-
Save johnhamelink/a4b61038b829407a6ea5b322fb99afa6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Base64.strict_encode64( | |
OpenSSL::HMAC.digest( | |
OpenSSL::Digest.new('sha1'), | |
@secret_access_key, policy) | |
).strip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment