将SHA1转换为标准格式 [英] Converting SHA1 to normal form
问题描述
我有一个数据库,其中每个密码都是通过SHA1传递的.有时,我想去用户仪表板,看看它的感觉.有没有一种方法,我可以将SHA1转换为普通形式只是出于测试目的?
I have a database where every password is passed via SHA1. Sometimes, I want to go to the users dashboard and look how it feels like. Is there a way, I could convert SHA1 to normal form just for testing purposes?
谢谢
推荐答案
如果用普通格式"表示我可以检索创建给定哈希值的字符串",答案是否定的.应该不应该,因为这就是安全哈希的全部要点:使其易于创建,极其复杂(理想情况下是不可能)进行还原,否则,为什么在地球上您要进行安全哈希处理?
If by "normal form" you mean "can I retrieve the string that created a given hash", the answer is no. And it should be NO, because that's the whole point of secure hashes: make it very easy to create, extremely complicated (ideally impossible) to revert, otherwise, why on Earth would you make a secure hash?
如果您试图入侵用户的帐户,那么我建议您去另一个论坛.
If you are trying to hack on the user's accounts, then I suggest you go to another forum.
这篇关于将SHA1转换为标准格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!