如何找出加密方式
如果我有原始和加密的字符串,我怎样才能找到加密方法? 例如,我有原始字符串 0812388140 和编码后的字符串 B2BCxW1tnHkzEfMfJM888Q==。
If I have the original and encrypted string how can I find out the encryption method?
for example I have original string 0812388140 and the encoded one B2BCxW1tnHkzEfMfJM888Q==.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果加密算法是安全的(就像任何最受支持的算法一样),您就不能:它们的设计目的是使加密文本显示为随机数据,因此它们都不会留下提示您的“签名”。
If the encryption algorithm is secure (like any of the most supported ones is) you cannot: they are designed to make the encrypted text appear as random data, so none of them leaves a 'signature' that will hint you.
这样想:密码系统是一台“黑匣子机器”。你可以放入一根绳子,然后从另一端取出一根绳子。你不被允许看里面。您真正要问的是如何通过查看将单个字符串输入黑匣子时出现的结果来了解黑匣子的内部工作原理?显然,您不能这样做。
Think about it this way: The cryptosystem is a "black box machine". You can put in a string, and you get out a string at the other end. You're not allowed to look inside. What you're asking is really how can I tell the inner workings of the black box by looking at what comes out when a single string is fed to the box? Clearly, you cannot do this.
仅仅看加密结果是无法得知算法的。
You cannot find-out the algorithm by simply looking at the encrypted result.