Argon2 hashing function is recommended over SHA512 for storing password hashes. Assuming…
- User
Argon2 hashing function is recommended over SHA512 for storing password hashes. Assuming relatively low performance server, is it better to use SHA512 or configure Argon2 way down ?
Assistant
Considering the recommendation to use Argon2 over SHA512 for storing password hashes, and assuming a relatively low performance server, I would suggest configuring Argon2 with lower resource requirements rather than using SHA512. Here's a step-by-step reasoning:
- Argon2 is designed specifically for password hashing, providing better security against attacks like side-channel attacks and GPU cracking, which is more effective than SHA512.
- A low performance server would struggle with the high resource demands of Argon2 in its default configuration. By configuring Argon2 with lower resource requirements, you can tailor it to your server's capabilities. Remember, the parameters for Argon2 that you should configure include memory usage (t_cost), the number of iterations (time_cost), and the number of threads (parallelism). Adjust these parameters to balance security with the server's performance constraints. So, while your server might not support Argon2 in its default configuration, it can still be configured to provide a secure and practical solution for password storage.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.