mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 03:18:33 +08:00
message
This commit is contained in:
parent
d695bfb2b0
commit
551cb5ac93
@ -58,7 +58,7 @@ class AlipayLife
|
||||
{
|
||||
$res = "-----BEGIN RSA PRIVATE KEY-----\n";
|
||||
$res .= wordwrap($this->life_data['rsa_private'], 64, "\n", true);
|
||||
$res .= "\nEND RSA PRIVATE KEY-----";
|
||||
$res .= "\n-----END RSA PRIVATE KEY-----";
|
||||
return openssl_sign($prestr, $sign, $res, OPENSSL_ALGO_SHA256) ? base64_encode($sign) : null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user