method

random_iv

v2_1_10 - 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.