加密 [英] encryption

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

问题描述

我使用SHA1算法加密用户密码。很公平。许多用户登录表单也有条款

如果您忘记密码,请将密码发送给您。这是否可能

与sha1。一旦加密,我就看不到任何我们要检索它了。

Brian

I am using the SHA1 algorithm to encrypt user passwords. Fair enough. Many user sign in forms also have a provision to
send you your password should you forget it. Is this possible
with sha1. Once encrypted, I don''t see any we to retrieve it.
Brian

推荐答案


我使用SHA1算法加密用户密码。很公平。许多用户登录表单也有条款

如果您忘记密码,请将密码发送给您。这是否可能

与sha1。一旦加密,我看不到任何我们要检索它。

Brian
I am using the SHA1 algorithm to encrypt user passwords. Fair enough. Many user sign in forms also have a provision to
send you your password should you forget it. Is this possible
with sha1. Once encrypted, I don''t see any we to retrieve it.
Brian



我不知道这个SHA1 ,因为我不使用它,但希望这个链接可以帮助你

http://en.wikipedia.org/wiki/SHA-1#SHA-1_algorithm


这将测试你的逆向工程技巧。


祝你好运。


I don''t have idea about this SHA1, since I don''t use it but hope this link helps you

http://en.wikipedia.org/wiki/SHA-1#SHA-1_algorithm

This will test your reverse engineering skills.

good luck.


哈希和加密是不同的。加密意味着您可以解密数据,但散列数据无法恢复。允许用户处理忘记密码的方式是提出安全问题(或者他们不会忘记的其他形式的验证),然后是一封电子邮件,为他们提供随机生成的代码,您已经存储以确认它是同一个人,然后允许他们创建一个新密码。


安全是一个广泛的主题,你应该考虑在忘记密码期间可能出错的一切;处理。你想避免其他人窃取密码,所以采取必要的措施。
Hashing and encryption are different. Encryption means you can decrypt the data, but hashed data is irretrievable. The way you allow users to deal with forgotten passwords is to have a security question (or some other form of verification that they wouldn''t forget), and then an email that gives them a randomly generated code that you have stored to confirm that it is the same person, then allow them to create a new password.

Security is a broad topic, and you should think about everything that could go wrong during the "forgot your password" process. You want to avoid other people from stealing a password, so take the necessary measures.


你的意思是说你不能解密SHA-1,因为它是哈希?


为什么在这个网站上他们说SHA-1是一种加密算法?

如果你仔细看第一段,就会写出SHA-1是一个哈希加密算法?
http://www.vocal.com/SHA1.html


我只想清理一下。

SHA-1算法包含在加密哈希函数中。 />
这意味着你说它们是数据加密功能。


查看本网站以供参考:
http://en.wikipedia.org/wiki/Cryptog...hash_functions


在那里阅读哈希函数的应用程序部分/>
有一部分涉及密码加密。


首先,如果我要发明一个加密文件的公式,为什么我不想解密它。

对吗?
You mean to say you can''t decrypt SHA-1 since it is hashing?

How come in this site they said that SHA-1 is an encryption algorithm?
If you look closely at the first paragraph it is written that SHA-1 is a Hash encryption algorithm?
http://www.vocal.com/SHA1.html


I just want to clear things up.
SHA-1 algorithm is included in the Cryptographic hash function.
It means to say you that they are Data encryption functions.

Check this site for reference:
http://en.wikipedia.org/wiki/Cryptog...hash_functions

read the Applications of hash functions part over there.
There is a part there referring to password encryption.

First of all if Iam going to invent a formula to encrypt files, Why would I not want to decrypt it.
Right?


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

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