Answer the question
In order to leave comments, you need to log in
What method to encrypt passwords for storage in the database?
All textbooks and articles talk about md5, how relevant is it today?
Programming language - PHP.
Answer the question
In order to leave comments, you need to log in
Not relevant md5.
https://php.net/manual/ru/function.password-hash.php
habrahabr.ru/post/194972
Do you still encrypt or hash? If the second one is SHA1, SHA256, SHA512 it will do fine.
Forget about md5 and clean password hashing!
md5 is prone to collisions, and a password wrapped in md5 can be calculated in a couple of seconds using rainbow tables.
This thing here recommends using PBKDF2 with a minimum of 10,000 iterations (as of 2011). Better use more now.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question