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