PHP.nl

sodium_crypto_sign_open

sodium_crypto_sign_open

Check that the signed message has a valid signature

 **sodium_crypto_sign_open** string $signed_message string $public_key

Verify the signature attached to a message and return the message

signed_message A message signed with sodium_crypto_sign

public_keyAn Ed25519 public key

Returns the original signed message on success, return.falseforfailure.