Argon2 is the algorithm that turns your two passwords into a real cryptographic key — the one that actually encrypts your sub-wallet seed.
Why it matters: A regular hash (SHA-256, etc.) is too fast. An attacker with a stolen encrypted blob can try billions of guesses per second. Even a strong password might fall in hours.
Argon2id is deliberately slow and memory-hungry. Each guess takes ~1 second AND requires ~64 MB of RAM. So an attacker can only try ~1 guess per second per CPU core, and they can't massively parallelize on GPUs because of the memory cost.
The chain inside this vault:
Without Argon2: weak password = wallet drained in minutes.
With Argon2: same password takes years to brute-force.
With Argon2 + a strong password: effectively unbreakable.
This is the heavy lifting that makes your passwords actually worth something.
// console output appears here