MD5还广泛用于操作系统的登陆认证上,如Unix、各类BSD系统登录密码、数字签名等诸多方。如在UNIX系统中用户的密码是以MD5(或其它类似的算法)经Hash运算后存储在文件系统中。当用户登录的时候,系统把用户输入的密码进行MD5 Hash运算,然后再去和保存在文件系统中的MD5值进行比较,进而确定输入的密码是否正确。通过这样的步骤,系统在并不知道用户密码的明码的情况下就可以确定用户登录系统的合法性。这可以避免用户的密码被具有系统管理员权限的用户知道。MD5将任意长度的“字节串”映射为一个128bit的大整数,并且是通过该128bit反推原始字符串是困难的,换句话说就是,即使你看到源程序和算法描述,也无法将一个MD5的值变换回原始的字符串,从数学原理上说,是因为原始的字符串有无穷多个,这有点象不存在反函数的数学函数。所以,要遇到了md5密码的问题,比较好的办法是:你可以用这个系统中的md5()函数重新设一个密码,如admin,把生成的一串密码的Hash值覆盖原来的Hash值就行了。

cryptocurrency KYA海


This content is being provided to you for informational purposes only. The content has been prepared by third parties not affiliated with Coinbase Inc or any of its affiliates and Coinbase is not responsible for its content. This content and any information contained therein, does not constitute a recommendation by Coinbase to buy, sell or hold any security, financial product or instrument referenced in the content.

被Coinbase一个很好的钱包


This content is being provided to you for informational purposes only. The content has been prepared by third parties not affiliated with Coinbase Inc or any of its affiliates and Coinbase is not responsible for its content. This content and any information contained therein, does not constitute a recommendation by Coinbase to buy, sell or hold any security, financial product or instrument referenced in the content.

0X cryptocurrency新闻

×