0
I have a file .php in the public folder of Laravel and for larger reasons I cannot create a controller of it. However, I need to use the function bcrypt to generate the password an encrypted password, but I can’t use this function in a file .php pure in the paste public.
How can I use this function?
It is a mistake to use code in public folder because you need to do so.???
– novic
PHP natively has the
password_hashwhich port Bcrypt (and Argon2i in PHP 7.2, still in Beta).– Inkeliz