ParagonIE_Sodium_Core_Ed25519::sign

Advertisement

Syntax Syntax

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

Parameters Parameters

$message

(Required)

$sk

(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