array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.sodium-crypto-sign-open.php', 1 => 'sodium_crypto_sign_open', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium Fonctions', ), 'prev' => array ( 0 => 'function.sodium-crypto-sign-keypair.php', 1 => 'sodium_crypto_sign_keypair', ), 'next' => array ( 0 => 'function.sodium-crypto-sign-publickey-from-secretkey.php', 1 => 'sodium_crypto_sign_publickey_from_secretkey', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sodium/functions/sodium-crypto-sign-open.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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_message
A message signed with sodium_crypto_sign()
public_key
An Ed25519 public key
Returns the original signed message on success, ou false
si une erreur survient.