-1

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

gaurav
  • 3
  • 3

1 Answers1

0
$password = (new Core\Hash())->make($aVals['password']);

I hope this is the code you need.

Trung Ngon
  • 51
  • 1
  • it means if pwd is " gauravjain " thenit will covert in phpfox v4 password – gaurav Feb 15 '20 at 12:38
  • this error come Fatal error: Class 'Core\Core\Hash' not found in – gaurav Feb 15 '20 at 12:40
  • You might do something wrong. See this line of code: https://github.com/Criotin/phpfox/blob/master/PF.Base/module/user/include/service/process.class.php#L379 – Trung Ngon Feb 16 '20 at 15:35