(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_verify_detached — Verify signature for the message
sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key): bool
Verify signature for the message
signatureThe cryptographic signature obtained from sodium_crypto_sign_detached()
messageThe message being verified
public_keyEd25519 public key
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sodium-crypto-sign-verify-detached.php