Closed ttasanen closed 8 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.
options
:digest
sign!
authentic?
This is also fully compatible the old interface defaulting to sha1.
Similar feature was asked before in #16
Thanks for this! This functionality has been added in #98.
Thanks..
This allows user to choose the used digest algorithm for hmac signature. User can pass an
options
hash with:digest
key to bothsign!
andauthentic?
methods.This is also fully compatible the old interface defaulting to sha1.
Similar feature was asked before in #16