微信-component_verify_ticket解密

Encrypt;
$format = "";
$from_xml = sprintf($format,$encrypt);
$msg = '';
$errCode = $pc->decryptMsg($msg_sign, $timeStamp, $nonce, $from_xml, $msg);



if ($errCode == 0) {
                print("解密后: " . $msg . "\n");
} else {
                print($errCode . "\n");
}

你可能感兴趣的:(微信-component_verify_ticket解密)