php8.5
Home/ Manual/ sodium / functions/ sodium_crypto_sign_verify_detached

sodium_crypto_sign_verify_detached

PHP function Edit on GitHub ✎

(PHP 7 >= 7.2.0, PHP 8)

Verify signature for the message

Description

sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key): bool

Verify signature for the message

Parameters

signature

The cryptographic signature obtained from sodium_crypto_sign_detached()

message

The message being verified

public_key

Ed25519 public key

Return Values

Success

Source: reference/sodium/functions/sodium-crypto-sign-verify-detached.xml · from the official PHP manual (php/doc-en)