Skip to content

Instantly share code, notes, and snippets.

View jaredrhine's full-sized avatar

Jared Rhine jaredrhine

View GitHub Profile
@jaredrhine
jaredrhine / gist:2d53704b7b83a708b47617e922dc59ba
Created May 11, 2017 22:24
keybase proof for jaredrhine
### 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:
@jaredrhine
jaredrhine / gist:d5333039bc27c89b15c6
Last active August 29, 2015 14:16
Trivial HMAC ruby pattern
#!/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'