Home > Backend Development > PHP Tutorial > 支付宝 APP 支付签名问题?

支付宝 APP 支付签名问题?

WBOY
Release: 2016-06-06 20:15:42
Original
1227 people have browsed it

支付宝文档
支付宝 APP 支付签名问题?

这里的签名函数,如果用PHP 实现的话,是应该用

<code>openssl_private_encrypt()</code>
Copy after login
Copy after login

还是用

<code>openssl_sign()</code>
Copy after login
Copy after login

回复内容:

支付宝文档
支付宝 APP 支付签名问题?

这里的签名函数,如果用PHP 实现的话,是应该用

<code>openssl_private_encrypt()</code>
Copy after login
Copy after login

还是用

<code>openssl_sign()</code>
Copy after login
Copy after login

使用openssl_sign来计算签名。

openssl_private_encrypt只是加密方法,不含签名算法,而openssl_sign是用来签名的函数。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template