Answer the question
In order to leave comments, you need to log in
Cryptography, password hashing password_hash?
Hello everyone, everything was fine until I read another article about password hashing and cryptography.
No matter how much I read, everything just falls into a rut and leads me to a single and logical answer, when suddenly another article comes across that turns everything upside down.
In general, a couple of questions:
1. Is it necessary and safe to use password_hash to hash a password?
2. Is it reasonable to use PASSWORD_DEFAULT or is it better to use your own salt (if salt, is it reasonable to store your own salt for each user in the database? - or how is it done?)
2.2 After all, php is constantly expanding, everything is changing, soon everything may change and more will appear a better mechanism for hashing, and you don’t have to change anything much with your salt, it will be easier.
2.2.1 Or, as an option, change the hashing method in general (which I thought was not entirely realistic if many users are registered)
I would be very grateful :)
Answer the question
In order to leave comments, you need to log in
Is it necessary and safe to use password_hash to hash a password?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question