ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey

SummerySummery

Calculate the X25519 public key from a given X25519 secret key.

Syntax

ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey( string $secretKey )

ParametersParameters

$secretKey

(string) (Required) Any X25519 secret key

ReturnReturn

(string) The corresponding X25519 public key

SourceSource

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


			
Scroll to Top