Class WXBizMsgCrypt
1.第三方回复加密消息给公众平台; 2.第三方收到公众平台发送的消息,验证消息的安全性,并对消息进行解密。
Copyright:
Copyright (c) 1998-2014 Tencent Inc.
Located at weixin-sdk-api/weixin_crypt/wxBizMsgCrypt.php
Located at weixin-sdk-api/weixin_crypt/wxBizMsgCrypt.php
public
|
|
public
integer
|
#
encryptMsg( $replyMsg, $timeStamp, $nonce, &$encryptMsg & $encryptMsg )
将公众平台回复用户的消息加密打包.
|
public
integer
|
#
decryptMsg( $msgSignature, $timestamp, $nonce, $postData, &$msg & $msg )
检验消息的真实性,并且获取解密后的明文.
|