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

  An overview of wireless lan security - term paper

Computer Science or Information Technology deals with Wireless LAN Security. Wireless LAN Security is gaining importance in the recent times. This report talks about how vulnerable are wireless LAN networks without any security measures and also talk..

  Computer networks and security against hackers

This case study about a company named Magna International, a Canada based global supplier of automotive components, modules and systems. Along with the company analysis have been made in this assignment.

  New attack models

The Internet evolution is and is very fast and the Internet exposes the connected computers to attacks and the subsequent losses are in rise.

  Islamic Calligraphy

Islamic calligraphy or Arabic calligraphy is a primary form of art for Islamic visual expression and creativity.

  A comprehensive study about web-based email implementation

Conduct a comprehensive study about web-based email implementation in gmail. Optionally, you may use sniffer like wireshark or your choice to analyze the communication traffic.

  Retention policy and litigation hold notices

The purpose of this project is to provide you with an opportunity to create a document retention policy. You will also learn how to serve a litigation hold notice for an educational institute.

  Tools to enhance password protection

A report on Tools to enhance Password Protection.

  Analyse security procedures

Analyse security procedures

  Write a report on denial of service

Write a report on DENIAL OF SERVICE (DoS).

  Phising email

Phising email It is multipart, what are the two parts? The HTML part, is it inviting the recepient to click somewhere? What is the email proporting to do when the link is clicked?

  Express the shannon-hartley capacity theorem

Express the Shannon-Hartley capacity theorem in terms of where is the Energy/bit and is the psd of white noise.

  Modern symmetric encryption schemes

Pseudo-random generators, pseudo-random functions and pseudo-random permutations

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