Write an encryption and decryption program

Assignment Help Computer Engineering
Reference no: EM132198038

Write an encryption and decryption program. Encrypt each digit by adding 7 and taking the remainder after division by 10.

After encrypting each digit, swap the first and third then swap the second and fourth.

Decryption should reverse the process. Program must input a single integer. Program must do encode and decode in one file.

Example Program Session (yours must look like this):

Encode (1) Decode (2): 1

Enter a four digit number: 1234

Encoded Digits: 0189

Continue (1) Exit (0): 1

Encode (1) Decode (2): 2

Enter a four digit number: 0189

Decoded Digits: 1234

Continue (1) Exit (0): 0

NOTE: Using Microsoft Visual Studio Compiler so it must be on that!

NOTE: please upload only the screenshots of the code in MSVS

Reference no: EM132198038

Questions Cloud

Determine if any of the circles overlap the triangle : Write an error-free Java program to do the following things. The program is modeled on a simple game where shapes move around the screen.
Weight change for each subject was recorded : Each of the 10 programs had 50 subjects in it. The subjects were followed for 12 months. Weight change for each subject was recorded.
Obtain the marshallian demand functions for goods : Obtain the Marshallian demand functions for goods X and Y. Compute the indirect utility function and the expenditure function for this case.
Display the left justified output on two seven segment : Display the left justified output on two seven segment displays, connected to the PORTC and PORTD of PIC 18.
Write an encryption and decryption program : Write an encryption and decryption program. Encrypt each digit by adding 7 and taking the remainder after division by 10.
What would a set of indifference curves for michelle : What would a set of indifference curves for Michelle and a set of indifference curves for Barack look like? Draw separate graphs for Michelle and Barack.
Write the definition of a function square : Write the definition of a function square, which receives an integer parameter and returns the square of the value of the parameter .
Write a description of the four phases of the sdlc : Write a description of the four phases of the SDLC. Include each phase and how they build off of each other.
Write paragraph to explain results in a scholarly journal : Many studies have confirmed that in the population, the flu lasts 21 days on average with a standard deviation of 7. The manufacturers of Tamiflu want.

Reviews

Write a Review

Computer Engineering Questions & Answers

  You are not required to comprise any constructors

using a personal computer as a base model write a c syntactically correct class definition demonstrating composition.

  Formal risk assessment of the external server

As part of a formal risk assessment of the external server in a small Web design company, you have identified asset "integrity of the organization web server and the threat hacking and defacement of the web server.

  What issues have been raised concerning some of authorities

What issues have been raised concerning some of the authorities granted to government agencies in the PATRIOT Act? How have those issues been addressed?

  Create a rfp which interested vendors could respond

Assume that you are leading a project that will implement a new course registration system for your university. Create a request for proposal (RFP) to which interested vendors and consultants could respond.

  Convert the given floating-point numbers to decimal values

Convert the following IEEE single-precision floating-point numbers to their decimal values. Report the answers to three significant figures.

  Print the frequency count out to the console

Write a c++ program that uses a map to store the frequency counts for all words in the attached excerpt from H.G. Wells "War of the Worlds".

  Question1 prove that it is impossible to extend a

question1. prove that it is impossible to extend a comparison-based implementation of the priority queue adt in which

  Write an ada function called tally that takes a parameter

Write an Ada function called Tally that takes a parameter called Grade_List of type Grade_Array and a parameter called Score of type Score_Range.

  Write a program that reads in a text file

Write a program that reads in a text file,and prints out all the lines in the file to the screen until it encounters a line with fewer than 5 characters.

  Provide a write up on available routers and switches

Research and provide a write up on available routers and switches. The report should include information for at least two router and two switching devices.

  Why is trust important in a project

Why is trust important in a project? How can lack of trust affect the project, team, and stakeholders? How can a project manager establish trust.

  Write a report about your discovery and the whole process

You need to write a report (around 3-4 pages, Maximum 1500 words) about your discovery and the whole process of data collection and analysis.

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