openssl_dh_compute_key
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Computes shared secret for public value of remote DH public key and local DH key
<?php openssl_dh_compute_key
(
string $public_key
,
OpenSSLAsymmetricKey $private_key
):
string
|
false