ARGON2(1)

πŸ’– ARGON2 πŸ’–

okay bestie, sit down, hydrate, and let me tell you about argon2 β€” it's a User Command, it lives in section 1 of the manual, and it is literally out here generating argon2 hashes from your terminal like it's nothing. no cap. πŸ‘‘


✨ NAME ✨

argon2 β€” generate argon2 hashes πŸ§‚βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

argon2 salt [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

So the whole vibe is: you generate Argon2 hashes straight from the command line. that's the job. that's the whole job. πŸ’…

The salt β€” that's the first argument you hand over to the command β€” has to be at least 8 octets long, periodt. no shortcuts, no "but bestie it's just a little salt". eight octets minimum. and your password? that comes in on standard input. so you're piping it in, not typing it as an argument. slay. 🫢

By default it uses the Argon2i variant, which is the one where memory access is independent of secret data β€” and that's the preferred one for password hashing and password-based key derivation. it's giving ✨responsible choices✨. iykyk.


🌸 OPTIONS 🌸

  • -h β€” display tool usage πŸ“– (yes, help. we love her.)
  • -d β€” use Argon2d instead of Argon2i (Argon2i is the default, don't forget)
  • -id β€” use Argon2id instead of Argon2i (Argon2i is still the default, bestie, it's not going anywhere)
  • -t N β€” sets the number of iterations to N (default = 3) πŸ”
  • -m N β€” sets the memory usage of 2^N KiB (default = 12) 🧠
  • -p N β€” sets parallelism to N threads (default = 1) 🧡
  • -l N β€” sets hash output length to N bytes (default = 32) πŸ“
  • -e β€” output only the encoded hash πŸŽ€
  • -r β€” output only the raw bytes of the hash πŸ₯©
  • -v (10|13) β€” Argon2 version (defaults to the most recent version, currently 13) πŸ”’

This manpage was written by Daniel Kahn Gillmor for the Debian distribution (but may be used by others). It is released, like the rest of this Argon2 implementation, under a dual license. You may use this work under the terms of a Creative Commons CC0 1.0 License/Waiver or the Apache Public License 2.0, at your option. two whole licenses, your choice, iconic behaviour fr fr. πŸ’œ


okay that's the whole page bestie, go forth and hash responsibly 🫢✨

this has been the argon2 page from April 2016 β€” stay hydrated, salt your hashes, and don't you dare go under 8 octets πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from