Пример #1
0
 private function hash(BAIM_MC $row)
 {
     $s = self::SHARED_SECRET;
     return strtolower(hash('SHA512', $s . $row->getToken() . $s . $row->getMC() . $s));
 }