WRITINGSHARE

Implement the Affine Cipher in C programing language with comments. The requirements are follows:…

Affine Cipher and DES in C programming: Programming Assignment

Need Help Writing an Essay?

Our team of talented writers is ready to assist. We offer essay writing help in over 75 disciplines, ensuring a convenient and comprehensive solution for all your academic needs!

Get Help Now!

Question:

  1. Implement the Affine Cipher in C programing language with comments. The requirements are follows:
    A. You have a separate code to testify whether a given key (a,b) is eligible.
    B. You have separate functions for encryption and decryption and also your code should work for encryption and decryption for any given eligible key. (After decryption, the original plaintext is recovered).
    C. You code should be capable to encrypt and decrypt both capital and lower case letters (ignore symbols).
    D. You code should work for the given test file (affinetest). (Able to encrypt and decrypt correctly).
  2. Implement DES in C programming language with comments. The requirements are follows:
    A. Your code should be able to encrypt and decrypt all possible characters on a keyboard.
    B. The key for encryption and decryption is required to be any combination of characters in a keyboard with finite length (You need to do padding or chopping if necessary.)
    C. You are required to implement key generation, switch function and Fk as three separate functions (You should have these three functions separately in your hard copy) and then combine all of these operations to achieve DES.
    D. Make sure it works properly for the given test file (destest).
    E. Change the elements in all S-boxes with the required constraint (S-Box elements are required to be between 0-15) and check whether your code still works as expected.
    F. State clearly what is the main difficulty in the process of your programming if your code is not working properly?

Get Quick Assignment Writing Help – No Plagiarism Guarantee!

Online assignment writing service website that provide university students with original and quality academic essays, term papers, admission essays, annotated bibliographies, reports, scholarship essays, personal statements, research proposals, research papers, projects, presentations, dissertation, theses, movie reviews, Book reviews, application papers, among others.

Having trouble with a homework question? Our skilled assignment writers are here to provide answers to all types of queries, ranging from fundamental mathematics to cutting-edge rocket science!

PLACE YOUR ORDER
Share your love