阅读(537)
赞(4)
Laravel 8 密码哈希验证
2021-06-29 17:21:23 更新
check 方法能为您验证一段给定的未加密字符串与给定的哈希值是否一致:
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
} check 方法能为您验证一段给定的未加密字符串与给定的哈希值是否一致:
if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
} Copyright©2023 字节宝字节宝| |
违法和不良信息举报电话:|举报邮箱:3111859717@qq.com
