Summery Summery
Libsodium’s crypto_kx().
Syntax Syntax
Parameters Parameters
- $my_sk
-
(Required)
- $their_pk
-
(Required)
- $client_pk
-
(Required)
- $server_pk
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/src/Crypto32.php
public static function keyExchange($my_sk, $their_pk, $client_pk, $server_pk) { return self::generichash( self::scalarmult($my_sk, $their_pk) . $client_pk . $server_pk ); }