如何知道用于加密密码的加密方法? [英] How can to know the encryption method used to encrypt a password ?

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

问题描述

Hai,



我的桌子上有用户信息,如用户名和密码。



我想知道用于加密密码的加密方法。



加密密码的样子如下:



A5-7D-92-22-B5- 04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B-8E-52-3E-B8-BB-02- 30-30



请帮助我。



我尝试了什么:



Hai,



我有一个包含用户ID和密码等用户信息的表格。 Db是MS SQL



我想知道用于加密密码的加密方法。



加密密码的样子如下:



A5-7D-92-22-B5- 04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B-8E-52-3E-B8-BB-02- 30-30



请帮帮我。

解决方案

你无法从加密数据中得知:很可能它没有加密 - 它当然不应该是加密密码本身就不安全。

最有可能的是,它是哈希 - 这意味着原始数据无法从存储中恢复值。相反,使用相同的方法对用户条目进行哈希处理,并将新哈希与旧哈希进行比较以确保输入有效密码。


引用:

如何知道用于加密密码的加密方法?



最好是询问设计此密码的人。



除了最简单的加密(如ROT13)之外,没有人能通过查看随机值来判断使用了哪种加密。只有电影英雄和坏人才能在几秒钟内完成。



引用:
A5-7D-92-22-B5-04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B- 8E-52-3E-B8-BB-02-30-30



可以说是十六进制,因为加密值可以包含不可打印的字符,所以使用它是十六进制的。 / BLOCKQUOTE>

Hai,

I have a table with user info like user id and password.

I want to know encryption method which is used to encrypt the password.

This is how encrypted password look like:

A5-7D-92-22-B5-04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B-8E-52-3E-B8-BB-02-30-30

Kindly help me.

What I have tried:

Hai,

I have a table with user info like user id and password. Db is MS SQL

I want to know encryption method which is used to encrypt the password.

This is how encrypted password look like:

A5-7D-92-22-B5-04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B-8E-52-3E-B8-BB-02-30-30

Kindly help me.

解决方案

You can't tell from the encrypted data: the chances are that it isn't encrypted anyway - it certainly shouldn't be as encrypted passwords are inherently insecure.
Most likely, it's hashed - which means that the original data cannot be recovered from the stored value. Instead, the user entry is hashed using the same method and the new hash is compared to the old to ensure a valid password was entered.


Quote:

How can to know the encryption method used to encrypt a password ?


The best is to ask the one who designed this.

Beyond the simplest encryptions (like ROT13), nobody can tell which encryption was used just by looking at a random value. Only movie heroes and bad guys can do it in matter of seconds.

Quote:

A5-7D-92-22-B5-04-9E-15-03-AB-AE-60-25-75-89-4A-29-14-6C-14-A5-59-CC-2B-8E-52-3E-B8-BB-02-30-30


What can be told is that this is hexadecimal, it is used because encrypted values can contain non printable chars.


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

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