sodium_crypto_sign_verify_detached

Verify signature for the message

Description

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

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

Returns true on success or false on failure.