PHPFOX : Which function finally generate password in https://github.com/Criotin/phpfox/blob/master/PF.Src/Core/Hash.php

56 views Asked by At

Can anyone tell me which function finally we should call to generate encrypted password from bellow link?

https://github.com/Criotin/phpfox/blob/master/PF.Src/Core/Hash.php

For example my password is " gauravjain "

how and which function i should use to finally generate encrypted password to save in dataase? I want to migrate old custom users to phpfox v4

can anyone give example code here using my example passowrd

1

There are 1 answers

3
Trung Ngon On
$password = (new Core\Hash())->make($aVals['password']);

I hope this is the code you need.