PHP 8.4.0 RC2 available for testing

sodium_crypto_sign_open

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_openCheck that the signed message has a valid signature

Descrição

sodium_crypto_sign_open(string $signed_message, string $public_key): string|false

Verify the signature attached to a message and return the message

Parâmetros

signed_message

A message signed with sodium_crypto_sign()

public_key

An Ed25519 public key

Valor Retornado

Returns the original signed message on success, ou false em caso de falha.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top