sodium_crypto_sign_open

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Check that the signed message has a valid signature
<?php sodium_crypto_sign_open(string $signed_message, string $public_key): string|false