abcrypt-information(1)

NAME

abcrypt-information - provides information about the encryption parameters

SYNOPSIS

abcrypt information [OPTION]…​ [FILE]

DESCRIPTION

This command provides information about the encryption parameters from FILE. The result will be write to standard output. If FILE is not specified, data will be read from standard input.

The encryption parameters outputs either a human-readable string or JSON.

Table 1. List of the encryption parameters
ParameterDescription

m (memoryCost)

The memory size in KiB

t (timeCost)

The number of iterations

p (parallelism)

The degree of parallelism

The encryption parameters represents the same thing as the Argon2 parameters as defined in RFC 9106.

abcrypt info and abcrypt i are aliases for this command.

POSITIONAL ARGUMENTS

FILE

Input file. If FILE is not specified, data will be read from standard input.

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.

65

The input data was incorrect in some way.

66

An input file (not a system file) did not exist or was not readable.

69

A service is unavailable.

70

An internal software error has been detected.

71

An operating system error has been detected.

73

A (user specified) output file cannot be created.

74

An error occurred while doing I/O on some file.

75

Temporary failure, indicating something that is not really an error.

76

The remote system returned something that was "not possible" during a protocol exchange.

77

You did not have sufficient permission to perform the operation.

EXAMPLES

Print the encryption parameters:

$ abcrypt information data.txt.abcrypt

Print the encryption parameters as JSON:

$ abcrypt information -j data.txt.abcrypt

Copyright © 2022-2024 Shun Sakai

  1. This program is distributed under the terms of the GNU General Public License v3.0 or later.

  2. 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.

SEE ALSO

abcrypt(1), abcrypt-decrypt(1), abcrypt-encrypt(1), abcrypt-help(1)