class OpenSSL::Cipher::Cipher

def random_iv

def random_iv
  str = OpenSSL::Random.random_bytes(self.iv_len)
  self.iv = str
  return str
end