@@ -41,27 +41,38 @@ will not install it anywhere. So no root is required.
4141## Usage:
4242
4343```
44- tea [-e |-d [-N] ] [-D] [-v] -k '16 byte key' -I <...>
44+ tea [-e |-d [-N] ] [-D] [-v] [ -k '16 byte key'|-K] -I <...>
4545-e - Encrypt
46- Encrypts the input files and the output files of each will be placed in the
46+ Encrypts the input files and the output files of each will be placed in the same directory with extension .3
4747-d - Decrypt
48- Decrypts the input files and the output files of each will be placed in the
48+ Decrypts the input files and the output files of each will be placed in the same directory excluding extension .3
4949-N - When decrypting, display output to stdout.
5050-D - Deletes source files after encryption or decryption.
5151-v - Verbose
52- -k - 16 byte key.
52+ -k - 16 byte key (as argument).
53+ -K - 16 byte key (from stdin).
5354-I - Files that need to be processed.
5455
5556Notes:
5657 - Cannot use -D (Delete file), -N (stdout output) together.
5758 - Cannot use -e (encryption), -N (stdout output) together.
5859 - When using -N (stdout output), -v (Verbose) is ignored.
60+
5961```
6062
6163## Example:
6264
6365```
64- tea -ek 'great elephant i' -I secret1 secret2 secret3
66+ $ tea -ek 'great elephant i' -I secret1 secret2 secret3
67+ ```
68+
69+ ** or**
70+
71+
72+ ```
73+ # With the new -K option
74+ $ tea -eK -I secret1 secret2 secret3
75+ Enter key (16 characters): great elephant i
6576```
6677
6778This encrypts the files ` secret1, secret2, secret3 ` using the key
@@ -70,9 +81,17 @@ This encrypts the files `secret1, secret2, secret3` using the key
7081
7182
7283```
73- tea -dk 'great elephant i' -I password.3
84+ $ tea -dk 'great elephant i' -I password.3
7485```
86+
87+ ** or**
88+
89+ ```
90+ # With the new -K option
91+ $ tea -dK -I password.3
92+ Enter key (16 characters): great elephant i
93+ ```
94+
7595This decrypts the file ` password.3 ` using the key ` great elephant i ` , and
7696writes the output to ` password ` file.
7797
78-
0 commit comments