Answer the question
In order to leave comments, you need to log in
Facades\Hash vs md5() Laravel 5.3?
What 's the point of Facades\Hash if there's a standard md5() function ?
Answer the question
In order to leave comments, you need to log in
It makes no sense if there is no difference between them for you.
But in general md5 is just a hash function. And Facades\Hash provides a wrapper for password methods. Here it is worth comparing with the password_hash function , which seems to be used internally.
What's the point of {{any function}} if there is a standard function {{any standard function}}?
As Maxim said , it uses the password_hash function
https://github.com/laravel/framework/blob/master/s...
And you also need to read the documentation
php.net/manual/ru/faq.passwords.php#faq.passwords ....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question