New User? Start here.
Writing Get your essay and assignment written from scratch by PhD expert
Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost
Editing:Proofread your work by experts and improve grade at Lowest cost
Enter phone no. to receive critical updates and urgent messages !
Error goes here
Please upload all relevant files for quick & complete assistance.
We aren't endorsed by this University
Consider the Affine Cipher on the alphabetZ26={A,B, . . . ,Z}with the usual identificationA=0,B=1, . . . ,Z=25, and the encryption function with key(a,b):C=aM+b(mod 26).1. Which of the following keys are valid? and why? (i)(3, 8)(ii)(8, 3)(iii)(5, 0)(iv)(0, 5)(v)(13, 1)2. For each of the above valid keys, determine the decryption function formula. (Please showall your working steps. Without any working steps then you will get 0.)3. Implement the cipher using C++ or Java.The program should be able to do both encryption and decryption. Lowercase charactersa-z will be encrypted/decrypted to lowercase characters. Uppercase characters A-Z will beencrypted/decrypted to uppercase characters. Other characters not in the range (a-z,A-Z)will be unchanged.The program should accept the following parameters: a flag to indicate encryption or de-cryption, a secret key, an input file name, and an output file name. For example:myProgram -key 3 8 -encrypt -in file1.txt -out file2.txtmyProgram -key 3 8 -decrypt -in file2.txt -out file3.txtThe program should be able to detect invalid key and display an error message if it encoun-ters an invalid key. (0.5 marks)4. Test your program (both encryption and decryption) with the keys in question 1 in this part.
We Will Use Your Email For :
For instant clarification and urgent requirements. Help us to serve you better.
Specially designed essay help services have made MyAssignmenthelp.com one of the most prolific proposal essay help providers. We have arrays of expert essay writers who successfully deliver essay help depending on broad ranges of subjects and topics. We provide nursing essay help, MBA essay help, English Essay writing help and law essay help to students from different fields of study. Broad ranges of essay writing services assist us to offer quality contents within a specific time limit.
Get 24x7 live help from our Top Tutors. All subjects covered.
Editing: Proofread your work by experts and improve grade at Lowest cost
On APP - grab it while it lasts!
*Offer eligible for first 3 orders ordered through app!
ONLINE TO HELP YOU 24X7
OR GET MONEY BACK!
OUT OF 38983 REVIEWS
Received my assignment before my deadline request, paper was well written. Highly recommend.
Only one step away from your solution of order no.