mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 19:05:59 +02:00
argon2: add page (#8814)
This commit is contained in:
parent
5c815649fa
commit
9279a98fd0
1 changed files with 20 additions and 0 deletions
20
pages/common/argon2.md
Normal file
20
pages/common/argon2.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# argon2
|
||||
|
||||
> Calculate Argon2 cryptographic hashes.
|
||||
> More information: <https://github.com/P-H-C/phc-winner-argon2#command-line-utility>.
|
||||
|
||||
- Calculate a hash with a password and a salt with the default parameters:
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}"`
|
||||
|
||||
- Calculate a hash with the specified algorithm:
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}" -{{d|i|id}}`
|
||||
|
||||
- Display the output hash without additional information:
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}" -e`
|
||||
|
||||
- Calculate a hash with given iteration [t]imes, [m]emory usage, and [p]arallelism parameters:
|
||||
|
||||
`echo "{{password}}" | argon2 "{{salt_text}}" -t {{5}} -m {{20}} -p {{7}}`
|
Loading…
Add table
Reference in a new issue