gpt4 book ai didi

php - 存储phphash密码的数据类型

转载 作者:行者123 更新时间:2023-11-30 23:06:22 24 4
gpt4 key购买 nike

<分区>

我正在使用 http://www.openwall.com/phpass/散列密码,并按照以下方式进行:

$t_hasher = new passwordhash(8, FALSE);
$hash =$t_hasher->HashPassword('myPassword');

典型的哈希看起来像$2a$08$xKcZiTBgnoJ2z/aXg2K7m.0roI4gMDO3VSYmBAH/nYAYjPNBfo1Lq

SQL 表应该使用什么数据类型来存储 $hash?

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com