How to find out the encryption method

只愿长相守 提交于 2019-12-25 03:55:13

问题


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==.


回答1:


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.




回答2:


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.




回答3:


You cannot find-out the algorithm by simply looking at the encrypted result.



来源:https://stackoverflow.com/questions/5538950/how-to-find-out-the-encryption-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!