method

random_iv

v1_9_3_125 - Show latest stable - Class: OpenSSL::Cipher
random_iv()
public

Generate, set, and return a random iv. You must call cipher.encrypt or cipher.decrypt before calling this method.