bitcore-lib
bitcore-lib copied to clipboard
Potential Error in Hash.hmac
https://github.com/bitpay/bitcore-lib/blob/86583608814dfc513e675d7b853806caf9bd95e7/lib/crypto/hash.js#L56
Buffer < number is probably not the intended logic for this line. Perhaps key.length < blocksize