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

random_iv

        # OpenSSL::Cipher.random_iv

(from ruby core)
### Implementation from Cipher
---
    cipher.random_iv -> iv

---

Generate a random IV 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.