rscrypt-info(1)
NAME
rscrypt-info - provides information about the encryption parameters
DESCRIPTION
This command provides information about the encryption parameters from FILE. The result will be write to standard output. If FILE is "-", data will be read from standard input.
The encryption parameters outputs either a human-readable string or JSON.
Parameter | Description |
---|---|
| The CPU/Memory cost parameter |
| The block size |
| The parallelization parameter |
The encryption parameters represents the same thing as the scrypt parameters as defined in RFC 7914.
OPTIONS
- -j, --json
Output the encryption parameters as JSON.
- -h, --help
Print help message. The short flag (-h) will print a condensed help message while the long flag (--help) will print a detailed help message.
- -V, --version
Print version number. The long flag (--version) will also print the copyright notice, the license notice and where to report bugs.
EXIT STATUS
- 0
Successful program execution.
- 1
An error occurred.
- 2
An error occurred while parsing command-line arguments.
- 7
Data was not a valid scrypt-encrypted block.
- 8
The version was the unrecognized scrypt version number.
- 9
Decrypting files takes too much memory.
- 10
Decrypting files takes too much CPU time.
- 11
Passphrase is incorrect.
- 14
The scrypt parameters were invalid.
- 15
Decrypting files takes too much resources.
- 66
An input file did not exist or was not readable.
- 77
You did not have sufficient permission to perform the operation.
EXAMPLES
- Print the encryption parameters:
$ rscrypt info data.txt.scrypt
- Print the encryption parameters as JSON:
$ rscrypt info -j data.txt.scrypt
COPYRIGHT
Copyright © 2022-2024 Shun Sakai
This program is distributed under the terms of the GNU General Public License v3.0 or later.
This manual page is distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.