How to create a password during registration?

If you use the standard authorization mechanism\LARAVEL registration to the database are written to the login email address and password, so in which algorithm is created this password ? (md5, sha1). Task to add a user using phpmyadmin paella ask this question.
Thank you!
July 9th 19 at 13:15
2 answers
July 9th 19 at 13:17
Solution
md5, sha1, etc passwords are no longer relevant.
there php.net/manual/ru/book.password.php
I suspect that in a fresh laravel uses it or something similar.

in the end you can look yourself in the source code.
Dass.... something I protupila a little, eyes blurry all day the brain cipiti........
bcrypt($data['password']) - Jessika.Kshlerin84 commented on July 9th 19 at 13:20
: it happens) - kavon.Murphy commented on July 9th 19 at 13:23
: use password_api not just bcrypt. He and Sol will generate, and if to replace bcrypt will be more reliable algorithm - perihelium you all...... word use. - Allene_Crona78 commented on July 9th 19 at 13:26
Thanks for the advice! But I Toto I described password_api, could you give a link to the topic. Thank you - Jessika.Kshlerin84 commented on July 9th 19 at 13:29
I gave a link to it.
here you can read examples https://www.sitepoint.com/hashing-passwords-php-5-...
well, Google will give a ton of results for search "php password api" - kavon.Murphy commented on July 9th 19 at 13:32
July 9th 19 at 13:19
so in your code, take a look

Find more questions by tags LaravelPHP