Flowdock
method

random_iv

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Cipher
random_iv() public

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.

Show source
Register or log in to add new notes.