WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core32_Ed25519::sign() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core32_Ed25519{}

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Core32_Ed25519::sign( $message, $sk );
$message(string) (required)
-
$sk(string) (required)
-

Code of ParagonIE_Sodium_Core32_Ed25519::sign() WP 5.8.2

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