Skip to content

Instantly share code, notes, and snippets.


Jared Rhine jaredrhine

View GitHub Profile
View gist:2d53704b7b83a708b47617e922dc59ba
### Keybase proof
I hereby claim:
* I am jaredrhine on github.
* I am jaredrhine ( on keybase.
* I have a public key ASACJXXMz-GYlOqOpB7MMVq5_h3teQvB0Ski9wEQ1FHcbgo
To claim this, I am signing this object:
jaredrhine / gist:d5333039bc27c89b15c6
Last active Aug 29, 2015
Trivial HMAC ruby pattern
View gist:d5333039bc27c89b15c6
#!/usr/bin/env ruby
require 'openssl'
secret_key = 'secret_key'
digest_algo = 'sha1'
input_data = 'The quick brown fox jumps over the lazy dog'