为什么我不应该使用md5()作为密码? [英] Why should I not use md5() for passwords?

查看:52
本文介绍了为什么我不应该使用md5()作为密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个 具有登录系统的网站.

I want to make a php website with a login system.

我应该使用哪种哈希方法?

Which hashing method should I use?

我以前使用 md5()来哈希我的网站密码,但是每个人说我不应该使用它.

I used to hash my website's passwords with md5() but everyone said I should not use it.

为什么不呢?

md5 如何破解?

推荐答案

请参考 文档"rel =" nofollow noreferrer>密码散列为什么不应该使用 md5(),请参考以下文档的 password_hash()文档您应该使用什么.

Please reference the php documentation on Password Hashing for why you should not use md5() and please reference the password_hash() documentation on what you should use.

这篇关于为什么我不应该使用md5()作为密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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