PHP - Manual: sodium_crypto_sign_open
2025-10-23
(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_messageA message signed with sodium_crypto_sign()
public_keyAn Ed25519 public key
Returns the original signed message on success, 或者在失败时返回 false.
官方地址:https://www.php.net/manual/en/function.sodium-crypto-sign-open.php