PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

openssl_dh_compute_key

(PHP 5 >= 5.3.11)

openssl_dh_compute_keyComputes shared secret for public value of remote DH key and local DH key

Description

string openssl_dh_compute_key ( string $pub_key , resource $dh_key )
Warning

This function is currently not documented; only its argument list is available.

Parameters

pub_key

Public key

dh_key

DH key

Return Values

Returns computed key on success or FALSE on failure.

PHP Manual