ParagonIE_Sodium_Crypto::sign_verify_detached

Advertisement

Summery Summery

Verify a detached signature of a given message and public key.

Syntax Syntax

ParagonIE_Sodium_Crypto::sign_verify_detached( string $signature, string $message, string $pk )

Parameters Parameters

$signature

(string) (Required)

$message

(string) (Required)

$pk

(string) (Required)

Return Return

(bool)

Source Source

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

    public static function sign_verify_detached($signature, $message, $pk)
    {
        return ParagonIE_Sodium_Core_Ed25519::verify_detached($signature, $message, $pk);
    }

Advertisement

Advertisement

Leave a Reply

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