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

random_key

        # OpenSSL::Cipher.random_key

(from ruby core)
### Implementation from Cipher
---
    cipher.random_key -> key

---

Generate a random key with OpenSSL::Random.random_bytes and sets it to
the cipher, and returns it.

You must call #encrypt or #decrypt before calling this method.



      

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.