铭文和解释 [英] Encription And Decription

查看:108
本文介绍了铭文和解释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用md5算法进行密码登记和解密使用asp.net。

How to use md5 algorithm for password encription and decription using asp.net.

推荐答案

首先要注意的是你不能使用MD5进行加密和解密 - 它是一种散列算法而不是加密算法,不同的是散列不可逆:你无法获得原始输入。



好​​消息是密码你不需要做任何解密! (但你不应该使用MD5,它在技术上破碎而不推荐用于新的应用程序 - 而是使用SHA)。



看看这里:密码存储:如何操作。 [ ^ ]它应该解释什么你需要知道。
The first thing to note is that you cannot use MD5 for encryption and decryption - it is a hashing algorithm not an encryption algorithm, the different being that hashing is not reversible: you cannot get the original input back.

The good news is that for passwords you don''t have to do any decryption! (But you shouldn''t use MD5 anyway , it''s technically "broken" and not recommended for new applications - use SHA instead).

Have a look here: Password Storage: How to do it.[^] it shoudl explain what you need to know.


这篇关于铭文和解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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