First I am very bad in cryptographic algorithms.
I found online that Argon2 is more secure than SHA-512, so I used it for password hashing.
There're recommended options for Argon2:
- Memory: 4Gb
- Iterations: 4 or more
On my ancient server it takes a little less than infinity for 100 users... So, I've decreased options to:
- Memory: 100Mb
- Iterations: 3
- Threads: 4 (if it's important)
- Type: Argon2i (recommended for password hashes)
- Salt size: 20 bytes
These options are significantly lower than options that I found as recommended. So I was wondering...
Will Argon2 with my options still be more secure than SHA-512? Or should I switch back to SHA-512?
P.S. If my question is not clear, text me, plz, I will try to reformulate it