芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/vendor/laravel/passport/src/Console/KeysCommand.php
option('force')) { $this->error('Encryption keys already exist. Use the --force option to overwrite them.'); return 1; } else { if (class_exists(LegacyRSA::class)) { $keys = (new LegacyRSA)->createKey($this->input ? (int) $this->option('length') : 4096); file_put_contents($publicKey, Arr::get($keys, 'publickey')); file_put_contents($privateKey, Arr::get($keys, 'privatekey')); } else { $key = RSA::createKey($this->input ? (int) $this->option('length') : 4096); file_put_contents($publicKey, (string) $key->getPublicKey()); file_put_contents($privateKey, (string) $key); } $this->info('Encryption keys generated successfully.'); } return 0; } }