Flowdock
method

compute_key

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: 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

  • pub_bn is a OpenSSL::BN, not the DH instance returned by DH#public_key as that contains the DH parameters only.

Show source
Register or log in to add new notes.