argument('file'); $c = file_get_contents($input); if (false === $c) { $this->error('File not found'); return; } //dd(explode(PHP_EOL, $c)); list($iv, $c) = explode(PHP_EOL, $c); $iv = hex2bin($iv); $m = openssl_decrypt($c, 'aes128', env('APP_KEY'), 0, $iv); $this->line($m); } }