If we have a source string and encrypted string, can we find out algorithm/forumla used in encrypting that source string?
EDIT
Here are a couple of such strings.
string, encrypted string
avtacarguy,c0e54a662e8d7adbf26e2515dcb2bfde
burris212,0c9fe74ce3abb1507108dba1f04497e5
directert,96336189003e59a2d4a3fdbb2cf02707
In general, no. There can be numerous algorithms that turn the source string into the encrypted string, based on what public and/or private keys are used.
In simple cases, such as the Caesar cipher it may be possible to figure out how it was done but even then you’ve only provided a ‘most likely’ explanation as to what encryption algorithm was used.