RustCrypto / password-hashes

Password hashing functions / KDFs
677 stars 84 forks source link

are these 2 different parameters basically the same? #493

Closed leyloe closed 7 months ago

leyloe commented 7 months ago

argon2id iterations: 20 mem cost: 250 mb

argon2id iterations: 2 mem cost: 5gb

does this basically have more memory over time? will these be equally just as hard to crack in all circumstances

tarcieri commented 7 months ago

One is using more memory, whereas the other has more iterations, so they are not the same.

Their relative strength will depend on the attacker's relative computation and memory bandwidth.