dh.compute_key(pub_bn) รข aString
Instance Public methods
Returns a String containing a shared secret computed from the other party's public value. See DH_compute_key() for further information.
Parameters
-
pub_bn
is a OpenSSL::BN, not the DH instance returned by
#public_key as that contains the DH parameters only.
Please login to continue.