Argon2
Argon2 is a memory-hard password-hashing and key-derivation algorithm designed to make password-guessing attacks costly in time and memory.
Rust Servers, Services, and Apps
argon2 is a password-hashing library implementing the Argon2 key-derivation algorithm.
- How it is used
- Hashes registration passwords for storage instead of saving them in cleartext.
- How deep it goes
- Describes its storage role but gives no hashing API, configuration, or algorithm internals.
- Examples
- Uses tutor registration credentials stored with tutor IDs and usernames in Postgres.
- What you can do after
- Apply it via rust-argon2 to store password hashes instead of cleartext credentials.
Real-World Cryptography
Argon2 is a memory-hard password-hashing algorithm designed to make password-guessing attacks costly in time and memory.
- How it is used
- Uses Argon2 to store passwords more safely by making offline password guessing expensive.
- How deep it goes
- Explains salts, slowness, and memory hardness, but stops short of implementation details and parameter selection.
- Examples
- Uses stolen password databases, repeated guessing, rainbow tables, dedicated hardware, and a hash-function classification figure.
- What you can do after
- Evaluate password-hashing choices by comparing guessing cost, memory hardness, and configuration risks.
Related concepts
- password hashingkind of · Password hashing transforms a password into a one-way derived value for secure storage and later verification without retaining the original password.
Questions about Argon2
What is Argon2?
Argon2 is a memory-hard password-hashing and key-derivation algorithm designed to make password-guessing attacks costly in time and memory.
Which Manning books explain Argon2?
Rust Servers, Services, and Apps and Real-World Cryptography.
What is Argon2 a kind of?
Argon2 is a kind of password hashing. Password hashing transforms a password into a one-way derived value for secure storage and later verification without retaining the original password.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

