# xmcsrv-api-php-signature **Repository Path**: wupz/xmcsrv-api-php-signature ## Basic Information - **Project Name**: xmcsrv-api-php-signature - **Description**: xmcsrv平台PHP签名算法 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2020-05-22 - **Last Updated**: 2021-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xmcsrv-api-php-signature #### 介绍 xmcsrv平台PHP签名算法 #### SignatureUtil.php ``` include_once 'SignatureUtil.php'; $uuid = 'test'; $appKey = 'test'; $appSecret = 'password'; $timeMillis = '00000011461748332239'; $movedCard = 5; $signature = new SignatureUtil($uuid, $appKey, $appSecret, $timeMillis, $movedCard); echo $signature->getEncryptStr(); ``` #### timeMillis.php ``` include_once 'timeMillis.php'; echo TimeMillisUtil::getTimMillis(); ```