Encrypt and decrypt messages

Assignment Help Basic Computer Science
Reference no: EM13317009

Goal

You will write a program in C, in the Ubuntu Linux environment, to provide the end user with the ability to encrypt and decrypt messages, using a secret key. Your program will prompt the user to indicate whether they wish to encrypt a readable ("plaintext") message or decrypt an already encrypted sequence of numbers ("ciphertext") back to its readable form. You will implement the encryption and decryption algorithm described in the instructions below. In order to prevent your enemies from easily cracking your encrypted messages, the algorithm will use an incrementing counter to encrypt each character in a slightly different way. Your program will output the result (either the ciphertext or the plaintext) to the screen. You will begin with the skeleton code found here.

Learning Objectives

• familiarize yourself with the Linux programming environment
• write a small program in C that is modular, correctly designed and documented
• manipulate values at the bit level

Reference no: EM13317009

Questions Cloud

How long does doug have to open door before fatality limit : Doug decides to use a turkey fryer to prepare the Thanksgiving turkey. Due to cold weather, he prepares the turkey with the door closed, limiting air exchage (Q) within the 40 m3 garage to 0.2 m3 min-1
Projected total unit workload-patient classification level : Based on susan's projection of patient days, what is the projected total unit workload by patient classification level? What differences do you notice between the projected and the historic total unit workload?
Explain why should find another spot to camp : Based upon the recommended level for CO of 40 mg/m3, the given conditions, AND the fact that the fire will be burning ALL night, should you find another spot to camp b.
Determine the diameter of the hole : A large storage tank, open at the top and filled with water, develops a small hole in its side at a point 16.4 m below the water level. Determine the diameter of the hole
Encrypt and decrypt messages : Write a program in C, in the Ubuntu Linux environment, to provide the end user with the ability to encrypt and decrypt messages, using a secret key
Determine the radius of the circle : Three point charges, -6.05 10-9 C, -9.75 10-9 C, and +7.50 10-9 C, are fixed at different positions on a circle. What is the radius of the circle
Students for fair tuition-down with fascist tuition increase : Members of Students for Fair Tuition (SFT) decide to protest rising tuition costs at Gigantic State University (GSU) by taking over Dunfee Hall, the location of GSU president Dalton Chandler’s office. As they storm into the reception area of Chandler..
Determine the magnitude of the z component of the reaction : The geometry of the rod assembly is given as a=2.8 m, b=0.950 m, c=1.00 m, and d=0.600 m. Neglect the weight of the rod. The journal bearing supports the rod in such a manner that it is free to rotate in the Z-direction.
Calculate the electron speed : In a television picture tube, electrons strike the screen after being accelerated from rest through a potential difference of 33 500 V. find the electron speed just before the electron strikes the screen

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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