System Grab Bag

View all TLDR pages from common (or from all pages)

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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.