Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ashconnor
on June 10, 2012
|
parent
|
context
|
favorite
| on:
It's Dangerous, a Python cryptographic signing mod...
Alternatively, if you are not using Rails but are still using Ruby, then you can use OpenSSL::HMAC.
tptacek
on June 10, 2012
[–]
This is a MUCH WORSE IDEA. Don't do this. Even this Python wrapper library does a better job providing HMAC services to users than OpenSSL's HMAC primitive does. Leave OpenSSL:* to the suckers^H^H^H^H^H^H crypto library implementors.
ashconnor
on June 10, 2012
|
parent
[–]
The wrapper is pretty elegant weighing in at 3 functions; it all depends on how high-level you want to go.
If people are having trouble they can refer to the Rails ActiveSupport source code for help.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: