crypto_sign_open

Advertisement

Syntax Syntax

crypto_sign_open( string $signedMessage, string $pk )

Parameters Parameters

$signedMessage

(Required)

$pk

(Required)

Return Return

(string|bool)

Source Source

File: wp-includes/sodium_compat/lib/sodium_compat.php

    function crypto_sign_open($signedMessage, $pk)
    {
        try {
            return ParagonIE_Sodium_Compat::crypto_sign_open($signedMessage, $pk);
        } catch (\TypeError $ex) {
            return false;
        } catch (\SodiumException $ex) {
            return false;
        }
    }

Advertisement

See also See also

Advertisement

Leave a Reply