sodium_crypto_sign_open
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_open — Check that the signed message has a valid signature
说明
Verify the signature attached to a message and return the message
参数
signed_message
-
A message signed with sodium_crypto_sign()
public_key
-
An Ed25519 public key
返回值
Returns the original signed message on success, 或者在失败时返回 false
.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.sodium-crypto-sign-open.php