A
A
Anton2017-08-22 19:19:14
Laravel
Anton, 2017-08-22 19:19:14

How to use custom password hashing in Laravel?

Good evening!
Laravel uses bcrypt as standard. I need to use sha1 with salt for a project. Can you please tell me how can I implement my hash?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex Wells, 2017-08-22
@Yadalay

https://stackoverflow.com/questions/28982706/larav...
https://laracasts.com/discuss/channels/general-dis...
I don't understand people. Are you even trying to find an answer to your question, or are you just jumping in right away?...
The first one will completely replace the container, not the best solution, but it depends on the needs.
The second is exclusively for the user.
If suddenly the second is outdated, then overwrite the methods in Auth controllers, if at all we are talking about users.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question