/** * md5签名 在 MD5 签名时,需要商户私钥参与签名 */ public function buildMD5MySign($prestr) { $prestr = strtoupper(HgMd5::encrypt($prestr . '&key=' . $this->security_key)); return $prestr; }
/** * md5签名 在 MD5 签名时,需要商户私钥参与签名 */ public function buildMD5MySign($prestr) { $prestr = HgMd5::encrypt($prestr . '&' . HgMd5::encrypt($this->security_key)); return $prestr; }