|
1 | 1 | # The xbcrypt command-line options
|
2 | 2 |
|
3 |
| -The `xbcrypt` binary has the following command line options: |
4 |
| - |
5 |
| -### encrypt-algo |
6 |
| - |
7 |
| -usage: `-a` `--encrypt-algo` |
| 3 | +Usage: |
| 4 | + |
| 5 | +```{.text .no-copy} |
| 6 | +$ xbcrypt[OPTIONS] |
| 7 | +``` |
8 | 8 |
|
9 |
| -Defines the name of the encryption algorithm. |
| 9 | +The `xbcrypt` binary has the following command line options: |
10 | 10 |
|
11 | 11 | ### decrypt
|
12 | 12 |
|
13 | 13 | usage: `-d` `--decrypt`
|
14 | 14 |
|
15 | 15 | Decrypt data input to output.
|
16 | 16 |
|
| 17 | +### encrypt-algo |
| 18 | + |
| 19 | +usage: `-a=name` `--encrypt-algo=name` |
| 20 | + |
| 21 | +Defines the name of the encryption algorithm. |
| 22 | + |
17 | 23 | ### encrypt-chunk-size
|
18 | 24 |
|
19 |
| -usage: `-s` `--encrypt-chunk-size` |
| 25 | +usage: `-s=#` `--encrypt-chunk-size=#` |
20 | 26 |
|
21 | 27 | Defines the size of the working buffer for encryption in bytes. The default value is `64000`.
|
22 | 28 |
|
23 | 29 | ### encrypt-key
|
24 | 30 |
|
25 |
| -usage: `-k` `--encrypt-key` |
| 31 | +usage: `-k=name` `--encrypt-key=name` |
26 | 32 |
|
27 | 33 | The name of the encryption key.
|
28 | 34 |
|
29 | 35 | ### encrypt-key-file
|
30 | 36 |
|
31 |
| -usage: `-f` `--encrypt-key-file` |
| 37 | +usage: `-f=name` `--encrypt-key-file=name` |
32 | 38 |
|
33 | 39 | The name of the file that contains the encryption key.
|
34 | 40 |
|
35 | 41 | ### encrypt-threads
|
36 | 42 |
|
37 |
| -usage: `--encrypt-threads` |
| 43 | +usage: `--encrypt-threads=#` |
38 | 44 |
|
39 | 45 | This option specifies the number of worker threads used for
|
40 |
| -parallel encryption/decryption. |
| 46 | +parallel encryption/decryption. The default value is 1. |
41 | 47 |
|
42 | 48 | ### input
|
43 | 49 |
|
44 |
| -usage: `-i` `--input` |
| 50 | +usage: `-i=name` `--input=name` |
45 | 51 |
|
46 | 52 | Defines the name of the optional input file. If the name is not specified, the input reads from the standard input.
|
47 | 53 |
|
48 | 54 | ### output
|
49 | 55 |
|
50 |
| -usage: `-o` `--output` |
| 56 | +usage: `-o=name` `--output=name` |
51 | 57 |
|
52 | 58 | Defines the name of the optional output file. If this name is not specified, the output is written to the standard output.
|
53 | 59 |
|
| 60 | + |
| 61 | +### read-buffer-size |
| 62 | + |
| 63 | +usage: `--read-buffer-size=#` |
| 64 | + |
| 65 | +Read the buffer size. The default value is 10MB. |
| 66 | + |
54 | 67 | ### verbose
|
55 | 68 |
|
56 | 69 | usage: `-v` `--verbose`
|
|
0 commit comments