Question: Now let's work for the enemy! Our spies have obtained copies of the encrypted an unencrypted text, but we need to know what n value

 Now let's work for the enemy! Our spies have obtained copies

Now let's work for the enemy! Our spies have obtained copies of the encrypted an unencrypted text, but we need to know what n value the Romans are using! Write a function, Hannibal Decypher ( text , cyphered) , that is given two strings: text + a string prior to cyphering . cyphered - the same string after the cyphering algorithm from part 1 is applied. Your function will return n , the second argument of caesarModified( S, n) , the key value used to cypher the text! HINT: Assume 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!