如何解密 SHA-512 散列数据 [英] How to decrypt SHA-512 hashed data

查看:77
本文介绍了如何解密 SHA-512 散列数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:

SHA-512 是单向的,所以我不需要尝试破解密码,因为简单地重置密码更容易.如果有人知道从 SHA-512 散列文本中获取原始密码,请告诉我.否则,我将从这个问题继续前进.感谢您的所有回答.

SHA-512 is one-way so I will need to not attempt to crack passwords because it is easier to simply reset a password. If someone is aware of getting the original password from a SHA-512 hashed text, please let me know. Otherwise, I am moving on from this question. Thank you for all of your answers.

原始问题:

我读过很多文章,指出 SHA-512 散列不能被取消散列.但是,这里有各种 SHA-1 + 算法的源代码:https://tls.mbed.org/sha-512-source-code.

I have read a lot of articles that state that SHA-512 hashing cannot be unhashed. However, there is a source code for the various SHA-1 + algorithms here: https://tls.mbed.org/sha-512-source-code.

我想知道是否可以在某种程度上反转此编码以解密 SHA-512 散列文本.Linux 使用 SHA-512 哈希加密他们的密码.作为系统管理员,我更愿意根据需要简单地解密或取消散列这些信息,而不是猜测密码是否正确并查看散列是否匹配.创建新密码可能会导致大量额外的时间和金钱.如果您不愿意发布此信息并想私下讨论,请随时索取我的联系信息.

I would like to know if it is possible to reverse this coding, in a way, to decrypt SHA-512 hashed text. Linux encrypts their passwords with SHA-512 hashing. As a systems administrator, I would prefer to simply decrypt or unhash this information as needed, rather than guessing whether a password is correct or incorrect and see if the hash matches. Creating new passwords can cause a lot of extra time and money. If you do not feel comfortable publishing this information and would like to discuss it privately, feel free to request my contact information.

谢谢!

推荐答案

为什么你不相信你读过的东西?

Why do you not believe what you have read?

加密散列函数无法反转.

Cryptographic hash functions can not be reversed.

思想实验:你有 200 个字节传递给 SHA512,结果是 64 个字节.有些东西已经丢失了.你如何重新获得失去的东西?

Thought experiment: You have 200 bytes you pass to SHA512, out come 64 bytes. Something has been lost. How do you regain what is lost?

以类似的方式,如果你有一个整数,比如 123,然后对 10 进行模数,结果将是 3.现在反过来——哦,它可能是 3, 13, 23, 33, 123, 9343453, *3.

In a similar manner if you have an integer, say 123, and mod by 10 the result would be 3. Now reverse that–oh it could have been and of 3, 13, 23, 33, 123, 9343453, *3.

这篇关于如何解密 SHA-512 散列数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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