ParagonIE_Sodium_Core_Ed25519::sign

Advertisement

Syntax Syntax

ParagonIE_Sodium_Core_Ed25519::sign( string $message, string $sk )

Parameters Parameters

$message

(string) (Required)

$sk

(string) (Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/src/Core/Ed25519.php

    public static function sign($message, $sk)
    {
        /** @var string $signature */
        $signature = self::sign_detached($message, $sk);
        return $signature . $message;
    }

Advertisement

Advertisement

Leave a Reply

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