crypto_sign_open

Advertisement

Syntax Syntax

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/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

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