original_string: public function checkHOTP($secret, $counter, $code, $hash_type = 'sha512')
  	{
  		return $this->stringCompare($code, $this->generateCode($secret, $counter, $hash_type));
  	}
code: public function checkHOTP($secret, $counter, $code, $hash_type = 'sha512')
  	{
  		return $this->stringCompare($code, $this->generateCode($secret, $counter, $hash_type));
  	}
code_tokens: public function checkHOTP ( $ secret , $ counter , $ code , $ hash_type = 'sha512' ) { return $ this -> stringCompare ( $ code , $ this -> generateCode ( $ secret , $ counter , $ hash_type ) ) ; }
docstring: Check if supplied HOTP code is valid
  
  @param string $secret Secret to use for comparison
  @param int $counter Current counter
  @param int $code Supplied HOTP code
  @param string $hash_type Hash type
  
  @return bool True if code is valid, false if not
docstring_tokens: Check if supplied HOTP code is valid