* $hash = CPasswordHelper::hashPassword($password); *
* if (CPasswordHelper::verifyPassword($password, $hash)) * // password is good * else * // password is bad *