Skip to content

Commit 684bb5c

Browse files
authored
Merge pull request #244 from percona/pxb-3237-8.0
PXB-3237 Update xbcrypt options (8.0)
2 parents ae46206 + 4d6678d commit 684bb5c

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

docs/xbcrypt-options.md

+26-13
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,69 @@
11
# The xbcrypt command-line options
22

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+
```
88

9-
Defines the name of the encryption algorithm.
9+
The `xbcrypt` binary has the following command line options:
1010

1111
### decrypt
1212

1313
usage: `-d` `--decrypt`
1414

1515
Decrypt data input to output.
1616

17+
### encrypt-algo
18+
19+
usage: `-a=name` `--encrypt-algo=name`
20+
21+
Defines the name of the encryption algorithm.
22+
1723
### encrypt-chunk-size
1824

19-
usage: `-s` `--encrypt-chunk-size`
25+
usage: `-s=#` `--encrypt-chunk-size=#`
2026

2127
Defines the size of the working buffer for encryption in bytes. The default value is `64000`.
2228

2329
### encrypt-key
2430

25-
usage: `-k` `--encrypt-key`
31+
usage: `-k=name` `--encrypt-key=name`
2632

2733
The name of the encryption key.
2834

2935
### encrypt-key-file
3036

31-
usage: `-f` `--encrypt-key-file`
37+
usage: `-f=name` `--encrypt-key-file=name`
3238

3339
The name of the file that contains the encryption key.
3440

3541
### encrypt-threads
3642

37-
usage: `--encrypt-threads`
43+
usage: `--encrypt-threads=#`
3844

3945
This option specifies the number of worker threads used for
40-
parallel encryption/decryption.
46+
parallel encryption/decryption. The default value is 1.
4147

4248
### input
4349

44-
usage: `-i` `--input`
50+
usage: `-i=name` `--input=name`
4551

4652
Defines the name of the optional input file. If the name is not specified, the input reads from the standard input.
4753

4854
### output
4955

50-
usage: `-o` `--output`
56+
usage: `-o=name` `--output=name`
5157

5258
Defines the name of the optional output file. If this name is not specified, the output is written to the standard output.
5359

60+
61+
### read-buffer-size
62+
63+
usage: `--read-buffer-size=#`
64+
65+
Read the buffer size. The default value is 10MB.
66+
5467
### verbose
5568

5669
usage: `-v` `--verbose`

0 commit comments

Comments
 (0)