diff --git a/pages/common/argon2.md b/pages/common/argon2.md new file mode 100644 index 0000000000..b1f535bfd5 --- /dev/null +++ b/pages/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Calculate Argon2 cryptographic hashes. +> More information: . + +- 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}}`