Example #1
0
 /**
  * Create md5 hash for IQRF API signature
  * @param string $param Parameter of request
  * @param int $time Epoch time
  * @return string md5 hash
  */
 public function createSignature($param, $time)
 {
     return md5($param . '|' . $this->config->getApiKey() . '|' . $this->config->getIpAddr() . '|' . round($time / 600));
 }