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
#!/usr/bin/env ruby | |
# http://ruby-doc.org/stdlib-2.1.5/libdoc/openssl/rdoc/OpenSSL/HMAC.html#method-c-digest | |
require 'openssl' | |
secret_key = 'secret_key' | |
digest_algo = 'sha1' | |
input_data = 'The quick brown fox jumps over the lazy dog' |
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
### Keybase proof | |
I hereby claim: | |
* I am jaredrhine on github. | |
* I am jaredrhine (https://keybase.io/jaredrhine) on keybase. | |
* I have a public key ASACJXXMz-GYlOqOpB7MMVq5_h3teQvB0Ski9wEQ1FHcbgo | |
To claim this, I am signing this object: |