ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install encencバックアップや設定ファイルには機密情報が含まれることがあります。
.enc ファイルを作成します。-K <file> はファイルから正確な鍵を読み取ります。-k <hex> はコマンドラインや履歴に鍵を残す可能性があります。
enc · enc -info <file> · enc <src> [dst] [options]encこのサーバーで利用できる認証付き暗号を一覧表示する
enc -info <file>復号せずに暗号化ファイルのヘッダーを表示する
enc <src>非表示のパスワード入力で <src>.
enc <src> <dst>保存先ファイルまたはディレクトリへ暗号化する
enc <src> -d復号し、既定の出力名から .
-k <hex>パスワードの代わりに正確な 16 進キーを使用する
-K <file>正確な生キーまたは 16 進キーのファイルを使用する
-a <cipher>認証付き暗号を選択する; 既定は aes-256-gcm
-i <n>PBKDF2 の反復回数を設定する; 既定は 310000
-f既存の保存先を置換する
-wソースファイルを結果で置換する
Minimum では基本的なパスワード暗号化のみ可能です。-info、-K、-f、-w は Base が必要です。
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install enc縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install enc -mこの公開済みバージョンを正確に指定してインストールします。
install enc -v 1.1.5upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade encコアや他のモジュールに触れず拡張ブロックを削除します。
install enc -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
enc利用可能なアルゴリズムは PHP サーバーによって異なります。一部を表示:
aes-128-gcm aes-192-gcm aes-256-gcm chacha20-poly1305enc -info \sandbox/secret.txt.encFile sandbox/secret.txt.enc
Format LENC2
Cipher aes-256-gcm
Authenticated yes
Original size 36 B
Mode 0644enc \sandbox/secret.txtパスワードまたは鍵の非表示入力が開きます。enc \sandbox/secret.txt \sandbox/tmp/パスワードまたは鍵の非表示入力が開きます。enc \sandbox/data/users.json -K \sandbox/keys/data.keyファイル一覧の抜粋:
sandbox/data/users.json.encenc \sandbox/secret.txt.enc \sandbox/tmp/recovered.txt -d -K \sandbox/keys/data.keyファイル一覧の抜粋:
sandbox/tmp/recovered.txtenc \sandbox/data/users.json -k 00112233445566778899aabbccddeeff00112233445566778899aabbccddeeffファイル一覧の抜粋:
sandbox/data/users.json.encenc \sandbox/data/users.json -k 00112233445566778899aabbccddeeff -a aes-128-gcmファイル一覧の抜粋:
sandbox/data/users.json.encenc \sandbox/secret.txt -i 400000パスワードまたは鍵の非表示入力が開きます。enc \sandbox/secret.txt \sandbox/tmp/protected.enc -K \sandbox/keys/data.keyDestination already exists; use -fenc \sandbox/secret.txt \sandbox/tmp/protected.enc -K \sandbox/keys/data.key -fファイル一覧の抜粋:
sandbox/tmp/protected.encenc \sandbox/tmp/work.txt -K \sandbox/keys/data.key -wファイル一覧の抜粋:
sandbox/tmp/work.txtenc \sandbox/tmp/work.txt.enc -K \sandbox/keys/data.key -w -dファイル一覧の抜粋:
sandbox/tmp/work.txt.encenc \sandbox/missing.txt -K \sandbox/keys/data.keySource file not foundenc \sandbox/secret.txt -k not-a-keyHexadecimal key must contain exactly 64 charactersenc \sandbox/secret.txt -i 99Iteration count must be between 10000 and 5000000enc \sandbox/secret.txt -K \sandbox/keys/no.keyKey file is not readableenc \sandbox/secret.txt -a aes-256-cbcCipher is unavailable or not authenticatedenc \sandbox/secret.txt \sandbox/tmp/other.enc -K \sandbox/keys/data.key -wChoose either a destination or -wenc \sandbox/secret.txt -d -K \sandbox/keys/data.keyEncrypted file format not recognizedsandbox/data/sample.txt例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
lil-terminal sandbox text file
This file is safe to read, copy, rename, replace, hash and archive.