| 1 |
.TH ARGON2 "1" "April 2016" "argon2 " "User Commands" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
argon2 \- generate argon2 hashes |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B argon2 salt |
| 8 |
.RB [ OPTIONS ] |
| 9 |
|
| 10 |
.SH DESCRIPTION |
| 11 |
Generate Argon2 hashes from the command line. |
| 12 |
|
| 13 |
The supplied salt (the first argument to the command) must be at least |
| 14 |
8 octets in length, and the password is supplied on standard input. |
| 15 |
|
| 16 |
By default, this uses Argon2i variant (where memory access is |
| 17 |
independent of secret data) which is the preferred one for password |
| 18 |
hashing and password-based key derivation. |
| 19 |
|
| 20 |
.SH OPTIONS |
| 21 |
.TP |
| 22 |
.B \-h |
| 23 |
Display tool usage |
| 24 |
.TP |
| 25 |
.B \-d |
| 26 |
Use Argon2d instead of Argon2i (Argon2i is the default) |
| 27 |
.TP |
| 28 |
.B \-id |
| 29 |
Use Argon2id instead of Argon2i (Argon2i is the default) |
| 30 |
.TP |
| 31 |
.BI \-t " N" |
| 32 |
Sets the number of iterations to N (default = 3) |
| 33 |
.TP |
| 34 |
.BI \-m " N" |
| 35 |
Sets the memory usage of 2^N KiB (default = 12) |
| 36 |
.TP |
| 37 |
.BI \-p " N" |
| 38 |
Sets parallelism to N threads (default = 1) |
| 39 |
.TP |
| 40 |
.BI \-l " N" |
| 41 |
Sets hash output length to N bytes (default = 32) |
| 42 |
.TP |
| 43 |
.B \-e |
| 44 |
Output only encoded hash |
| 45 |
.TP |
| 46 |
.B \-r |
| 47 |
Output only the raw bytes of the hash |
| 48 |
.TP |
| 49 |
.B \-v (10|13) |
| 50 |
Argon2 version (defaults to the most recent version, currently 13) |
| 51 |
|
| 52 |
.SH COPYRIGHT |
| 53 |
This manpage was written by \fBDaniel Kahn Gillmor\fR for the Debian |
| 54 |
distribution (but may be used by others). It is released, like the |
| 55 |
rest of this Argon2 implementation, under a dual license. You may use this work |
| 56 |
under the terms of a Creative Commons CC0 1.0 License/Waiver or the Apache |
| 57 |
Public License 2.0, at your option. |