Closed jasonbking closed 4 years ago
Currently, the verifyHMAC function only accepts a string as secret. However as far back at least as node v0.10, the crypto hmac function also accepts a Buffer (allowing for keys that are raw binary values). verifyHMAC should also allow them
verifyHMAC
secret
Currently, the
verifyHMAC
function only accepts a string assecret
. However as far back at least as node v0.10, the crypto hmac function also accepts a Buffer (allowing for keys that are raw binary values).verifyHMAC
should also allow them