PHP Class PFinal\Wechat\SDK\SHA1

计算公众平台的消息签名接口.
Datei anzeigen Open project: pfinal/wechat

Public Methods

Method Description
getSHA1 ( string $token, string $timestamp, string $nonce, $encrypt_msg ) 用SHA1算法生成安全签名

Method Details

getSHA1() public method

用SHA1算法生成安全签名
public getSHA1 ( string $token, string $timestamp, string $nonce, $encrypt_msg )
$token string 票据
$timestamp string 时间戳
$nonce string 随机字符串