Laravel Hash等同于核心php [英] Laravel Hash equivalent in core php
本文介绍了Laravel Hash等同于核心php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经有一个Web应用程序,其中我已使用加密所有密码
I already have a web application where i have encrypted all my password using
Hash :: make($ string);
Hash::make($string);
相当于php核心中的内容,这将帮助我的Android开发人员与我的应用程序同步.我尝试使用哈希和加密,这是不一样的.帮助我,以便开发人员更容易编写后端.
What is the equivalent of that in core php , that would help my android developers in syncing with my app. I tried with hash and crypt, it wasn't same. Help me with it, so that it would be easier for my developers to write backend.
推荐答案
尝试使用
password_hash($ string);
password_hash($string);
您可以使用
password_verify($ string,$ hash);
password_verify($string,$hash);
希望有帮助!
这篇关于Laravel Hash等同于核心php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文