WordPress at a glance
function is not described

Sodium

crypto_sign_open() WP 1.0

No Hooks.

Return

String|true|false. Nothing.

Usage

crypto_sign_open( $signedMessage, $pk );
$signedMessage(string) (required)
-
$pk(string) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::crypto_sign_open()

Code of crypto_sign_open() WP 5.7.1

<?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;
    }
}