method

compute_key

v1_9_3_125 - Show latest stable - Class: OpenSSL::PKey::DH
compute_key(p1)
public

Returns a String containing a shared secret computed from the other party’s public value. See DH_compute_key() for further information.

Parameters

DH#public_key as that contains the DH parameters only.