Implement the affine cipher in c programing language

Assignment Help Computer Network Security
Reference no: EM131024979

Assignment One

Objective: To implement Affine Cipher and DES in C programming language.

1. Implement the Affine Cipher in C programing language with comments. The requirements are follows:
- You have a separate code to testify whether a given key (a,b) is eligible.
- 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).
- You code should be capable to encrypt and decrypt both capital and lower case letters (ignore symbols).
- 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:
- Your code should be able to encrypt and decrypt all possible characters on a keyboard.
- 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.)
- 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.
- Make sure it works properly for the given test file (destest).
- 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.
- State clearly what is the main difficulty in the process of your programming if your code is not working properly?

Attachment:- Assignment.rar

Reference no: EM131024979

Questions Cloud

What is the velocity of money in tropicia : What is the velocity of money in Tropicia? In 2006 suppose the money supply increases by 50% and real GDP has increased by $400. Given that the velocity of money is the same as in 2005, what is the new aggregate price level in Tropicia in 2006? Wha..
What types of risks or vulnerabilities could be transferred : What types of risks or vulnerabilities could be transferred from a supplier and/or imposed upon a purchaser of cyber security related products and/or services?
How do solving linear inequalities differ : What is the necessary condition for the following fraction to be valid? What value(s) of "x" that cannot be used in this fraction?
Assume that the company evaluates performance : Assume that the company evaluates performance using residual income and that the minimum required rate of return for any division is 16%. Compute the residual income for each division.
Implement the affine cipher in c programing language : Implement the Affine Cipher in C programing language with comments - Implement DES in C programming language with comments.
Which graphs correctly describes the system and its solution : Janet invested $27,000, part at 15% and part at 9%. If the total interest at the end of the year is $3,390, how much did she invest at 15%?
Calculate kp for this reaction : The equilibrium 2 NO(g) + Cl2(g) ? 2 NOCl(g) is established at 500 K. An equilibrium mixture of the three gases has partial pressures of 0.095 atm, 0.171 atm, and 0.28 atm for NO, Cl2, and NOCl, respectively. Calculate Kp for this reaction at 500...
Research and report upon the problem of supply chain risk : For this paper, you will research and report upon the problem of Supply Chain Risk as it pertains to the cybersecurity industry.
Develop a production plan for the monthly forecast : Stevens Company manufactures automobile tires. They use a chase strategy and rely on subcontracting when necessary to meet demand. Develop a production plan for the following monthly forecast: 80, 90, 70, 80, 90, 100.

Reviews

Write a Review

Computer Network Security Questions & Answers

  It infrastructure groups

Information Technology infrastructure groups are often responsible for direct customer interaction and associated customer service.

  Describe the concept and function of electronic money

Identify potential solutions for these issues and evaluate their ability to protect both payers and receivers. You must remember this homework has to be plagiarism free thanks

  Problem on ethereal lab

The basic tool for observing the messages exchanged between executing protocol entities is called a packet sniffer. As the name suggests, a packet sniffer captures ("sniffs") messages being sent/received from/by your computer

  Consider the information stored on your personal computer

information security1. look up the paper that started the study of computer security. prepare a summary of the

  What are the various threats to information security

What are the various threats to information security

  Security awareness on the internet

Search for security awareness on the internet. Describe the available materials. Choose one of the web sites that might work for security awareness program at your school

  Describe the organization''s email privacy policy

Describe the organization's email privacy policy.

  Define security technique that aims to expose flaws

Fuzzing" is a security technique that aims to expose flaws in error handling by providing invalid, random, or unexpected data as inputs to computer systems. Here "system" is used generically, and should be read as "function call, program, or shell..

  New technologies using sophisticated anti-copying measures

Which is more probably to be effective in protecting intellectual property in digital media like CDs and DVDs: tougher copyright laws or new technologies incorporating more sophisticated anti-copying measures?

  Comprise a brief description of how to comprise

write a 1400- to 2100-word paper that describes the security authentication process. discuss how this and other

  Explain how you would integrate security requirements

Explain how you would integrate security requirements such as confidentiality, integrity, or availability into an experiment-based evaluation of a web-based conferencing system

  Create a 7-10 slide presentation on information systems

create a 7-10 slide presentation on information systems security and it infrastructure. you may use various sources

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd