mgomes / api_auth

HMAC authentication for Rails and HTTP Clients
MIT License
480 stars 147 forks source link

Allow use of other digests algorithms #72

Closed ttasanen closed 8 years ago

ttasanen commented 9 years ago

This allows user to choose the used digest algorithm for hmac signature. User can pass an options hash with :digest key to both sign! and authentic? methods.

This is also fully compatible the old interface defaulting to sha1.

Similar feature was asked before in #16

kjg commented 8 years ago

Thanks for this! This functionality has been added in #98.

ttasanen commented 8 years ago

Thanks..