/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$enc_key = KeyFactory::generateEncryptionKey();
try {
KeyFactory::save($enc_key, config('laracrypt.path'));
} catch (\Throwable $t) {
$this->error($t);
}
return $this->info("Your LaraCrypt encryption key has been generated.");
}