I am trying to reverse engineer an unknown encryption algorithm. By this, I mean I dont know what kind of algorithm is used to encrypt the words.
But I know some input-output pairs. From this point what can I deduce/reverse engineer? Thanks
I am trying to reverse engineer an unknown encryption algorithm. By this, I mean I dont know what kind of algorithm is used to encrypt the words.
But I know some input-output pairs. From this point what can I deduce/reverse engineer? Thanks
It is not possible to reverse-engineer a good encryption algorithm from plaintext/ciphertext pairs alone; it might not even be possible to test the validity of a guess unless a matching key is known (but it is often possible to rule out a guess; e.g. if individual cryptograms are 64 bytes, that's not RSA with a decent key size).
Among techniques to reverse-engineer a good encryption algorithm:
Reverse engineering a bad encryption algorithm depends very much on the algorithm; sometime it is possible, there are even generic techniques for entire classes of algorithms, see this for anything affine, including linear.
Can a known plaintext attack help identify the algorithm used for encryptionanother possible title for this question? – Mindwin Remember Monica Apr 04 '16 at 17:48