我们可以在oracle和xampp上使用pasdword_hash函数吗? [英] Can we use pasdword_hash function on oracle with xampp

查看:126
本文介绍了我们可以在oracle和xampp上使用pasdword_hash函数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道php中有一个名为password_hash的函数,但它也可以与oracle一起使用。

请指导我这个,因为我是php新手。



提前致谢。



我的尝试:



我还没有尝试过任何东西。

伙计们需要你的宝贵建议。

I know that there is a function in php called password_hash but can it be used with oracle too.
Please guide me in this as I am new to php.

Thanks in advance.

What I have tried:

I haven't tried anything yet.
Guys need your valuable suggesteions on tis.

推荐答案

该功能本身与执行PHP脚本的特定数据库或环境无关。它只是从输入字符串创建一个哈希字符串。由你来定义如何处理返回的字符串。



你可以像任何其他字符串一样将它存储在数据库中,稍后查询它以将它传递到一起使用普通密码 PHP:password_verify - Manual [ ^ ]进行验证。
The function itself is not related to a specific database or environment where the PHP script is executed. It just creates a hash string from an input string. It is up to you to define what to do with the returned string.

You can store it in a database like any other string and query it later to pass it together with the plain password to PHP: password_verify - Manual[^] for verification.


这篇关于我们可以在oracle和xampp上使用pasdword_hash函数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆