sodium_crypto_kx

Advertisement

Syntax Syntax

sodium_crypto_kx( string $my_secret, string $their_public, string $client_public, string $server_public )

Parameters Parameters

$my_secret

(Required)

$their_public

(Required)

$client_public

(Required)

$server_public

(Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/lib/php72compat.php

    function sodium_crypto_kx($my_secret, $their_public, $client_public, $server_public)
    {
        return ParagonIE_Sodium_Compat::crypto_kx(
            $my_secret,
            $their_public,
            $client_public,
            $server_public
        );
    }

Advertisement

See also See also

Advertisement

Leave a Reply