sodium_crypto_sign_open

Advertisement

Syntax Syntax

sodium_crypto_sign_open( string $signedMessage, string $pk )

Parameters Parameters

$signedMessage

(string) (Required)

$pk

(string) (Required)

Return Return

(string|bool)

Source Source

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

    function sodium_crypto_sign_open($signedMessage, $pk)
    {
        try {
            return ParagonIE_Sodium_Compat::crypto_sign_open($signedMessage, $pk);
        } catch (Error $ex) {
            return false;
        } catch (Exception $ex) {
            return false;
        }
    }

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.