ParagonIE_Sodium_Compat::crypto_sign_open

SummerySummery

Validates a signed message then returns the message.

Syntax

ParagonIE_Sodium_Compat::crypto_sign_open( string $signedMessage, string $publicKey )

ParametersParameters

$signedMessage

(string) (Required) A signed message

$publicKey

(string) (Required) A public key

ReturnReturn

(string) The original message (if the signature is valid for this public key)

SourceSource

File: wp-includes/sodium_compat/src/Compat.php


			
Scroll to Top