ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey

SummerySummery

Combine two keys into a keypair for use in library methods that expect a keypair. This doesn’t necessarily have to be the same person’s keys.

Syntax

ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey( string $secretKey, string $publicKey )

ParametersParameters

$secretKey

(string) (Required) Secret key

$publicKey

(string) (Required) Public key

ReturnReturn

(string) Keypair

SourceSource

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


			
Scroll to Top