Exemplo n.º 1
1
 /**
  * @param RequestAbstract $request
  */
 public function sign(RequestAbstract $request)
 {
     $signature = strtoupper(hash('sha512', strtoupper($this->userId) . strtoupper(hash('sha512', $this->password)) . strtoupper($request->getTime())));
     $request->setSignature($signature);
 }