lib/signature.js
function( signature, input, key ) {

    var check = this.sign( input, key )

    return signature.toString( 'hex' ) ===
      check.toString( 'hex' )

  }
function( signature, input, key ) {

    var check = this.sign( input, key )

    return signature.toString( 'hex' ) ===
      check.toString( 'hex' )

  }
function ( signature , input , key ) { var check = this . sign ( input , key ) return signature . toString ( 'hex' ) === check . toString ( 'hex' ) }
Verify an HMAC signature
@internal used by `.verify()`
@param  {Buffer} signature
@param  {Buffer} input
@param  {Buffer} key
@return {Boolean}
Verify an HMAC signature