original_string: protected function calculateMac($payload, $bytes)
      {
          return hash_hmac(
              'sha256', $this->hash($payload['iv'], $payload['value']), $bytes, true
          );
      }
code: protected function calculateMac($payload, $bytes)
      {
          return hash_hmac(
              'sha256', $this->hash($payload['iv'], $payload['value']), $bytes, true
          );
      }
code_tokens: protected function calculateMac ( $ payload , $ bytes ) { return hash_hmac ( 'sha256' , $ this -> hash ( $ payload [ 'iv' ] , $ payload [ 'value' ] ) , $ bytes , true ) ; }
docstring: Calculate the hash of the given payload.
  
  @param  array  $payload
  @param  string  $bytes
  @return string
docstring_tokens: Calculate the hash of the given payload .