ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install encenc機密性と改ざん検出の両方が必要なファイルに
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ソースファイルを結果で置換する
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install enc縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install enc -mこの公開済みバージョンを正確に指定してインストールします。
install enc -v 1.1.4upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade encコアや他のモジュールに触れず拡張ブロックを削除します。
install enc -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
cd \sandbox | enc secret.txt -K keys/data.key | enc -info secret.txt.encsandbox
Source sandbox/secret.txt
Saved sandbox/secret.txt.enc
Key sandbox/keys/data.key
Cipher aes-256-gcm
File sandbox/secret.txt.enc
Format LENC2
Cipher aes-256-gcm
Authenticated yes
Original size 36 B
Mode 0644encaes-128-gcm aes-192-gcm aes-256-gcm
chacha20-poly1305enc \sandbox\secret.txtpassword ••••••••
Source sandbox/secret.txt
Saved sandbox/secret.txt.enc
Cipher aes-256-gcmenc \sandbox\secret.txt \sandbox\private\Source sandbox/secret.txt
Saved sandbox/private/secret.txt.enc
Cipher aes-256-gcmenc \sandbox\secret.txt.enc -d -K \sandbox\keys\data.keySource sandbox/secret.txt.enc
Saved sandbox/secret.txt
Cipher aes-256-gcmenc \sandbox\data\users.json -k 00112233445566778899aabbccddeeff00112233445566778899aabbccddeeffSource sandbox/data/users.json
Saved sandbox/data/users.json.enc
Key exact
Cipher aes-256-gcmenc \sandbox\data\users.json -K \sandbox\keys\data.keySource sandbox/data/users.json
Saved sandbox/data/users.json.enc
Key sandbox/keys/data.key
Cipher aes-256-gcmenc \sandbox\secret.txt -a aes-128-gcmSource sandbox/secret.txt
Saved sandbox/secret.txt.enc
Cipher aes-128-gcmenc \sandbox\secret.txt -i 400000password ••••••••
Source sandbox/secret.txt
Saved sandbox/secret.txt.enc
Cipher aes-256-gcm
Iterations 400000enc \sandbox\secret.txt \sandbox\secret.txt.enc -fSource sandbox/secret.txt
Saved sandbox/secret.txt.enc
Replace explicitcopy \sandbox\secret.txt \sandbox\tmp\secret.txt | enc \sandbox\tmp\secret.txt -K \sandbox\keys\data.key -wSource sandbox/tmp/secret.txt
Saved sandbox/tmp/secret.txt
Key sandbox/keys/data.key
Replace source after successful encryptionenc \sandbox\missing.txt元ファイルが見つかりませんsandbox/data/sample.txt例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
lil-terminal sandbox text file
This file is safe to read, copy, rename, replace, hash and archive.