This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

compute_key

        # OpenSSL::PKey::DH.compute_key

(from ruby core)
### Implementation from DH
---
    dh.compute_key(pub_bn) -> string

---

Returns a String containing a shared secret computed from the other
party's public value.

This method is provided for backwards compatibility, and calls #derive
internally.

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




      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.