ParagonIE_Sodium_Compat::crypto_sign_detached

Advertisement

Summery Summery

Calculate the Ed25519 signature of a message and return ONLY the signature.

Syntax Syntax

ParagonIE_Sodium_Compat::crypto_sign_detached( string $message, string $secretKey )

Description Description

Algorithm: Ed25519 (EdDSA over Curve25519)

Parameters Parameters

$message

(string) (Required) Message to be signed

$secretKey

(string) (Required) Secret signing key

Return Return

(string) Digital signature

Source Source

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


			

Advertisement

Advertisement

Leave a Reply

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