Develop a crytographic scheme that will encode a message

Assignment Help C/C++ Programming
Reference no: EM131137772

Assignment:

Here you will begin to develop a crytographic scheme that will encode a message. In order to do that, you will convert a single character into its ascii code, add a certain integer value to it, and convert back into a character.

The mapping will be to add CRYPT_KEY. For example, if CRYPT_KEY =2, the mapping would take a---->c, and also take z---->B. Note that ascii values greater that z get "wrapped around" starting again at A.

Your program must:

-Define a constant CRYPT_KEY to any value integer value you want

-Use modulus operator (%) to maintain a mapping between ascii A and z.

-Use static_cast to convert between data type char and int.

Reference no: EM131137772

Questions Cloud

Null hypothesis that on the average the bank cashes : An employee of a bank wants to test the null hypothesis that on the average the bank cashes 10 bad checks per day against the alternative that this figure is too small.
Classify each of the following accounts taken : Classify each of the following accounts taken from Roberts Company's balance sheet.
Transformational supportive task-oriented people-oriented : Katherine Graham took over as head of the Washington Post after her husband committed suicide. At the time, the newspaper was an undistinguished regional paper. Graham, who has no previous experience in the newspaper business, decided that the Washin..
Explain the function of the federal reserve system : Explain the structure and function of the Federal Reserve System. - How the Reserve Requirement Ratio (RRR) is essentially the same concept as the MPS?
Develop a crytographic scheme that will encode a message : Develop a crytographic scheme that will encode a message. In order to do that, you will convert a single character into its ascii code, add a certain integer value to it, and convert back into a character.
Discuss considerations for implementing an operating system : Discuss the considerations for implementing an operating and database system. Recommend the optimum system, considering the types of revenue and expense transactions for this company.
End of the string and then print the results : Write a C++ code that declares a regular C++ null-terminated string that holds upto 20 characters, reads user input into the string, appends an exclamation to the end of the string and then print the results.
Determine the minimum sample size needed : Suppose that we want to test the null hypothesis that the mean of a normal population with σ2 = 1 is μ0 against the alternative hypothesis that it is μ1, where μ1 > μ0. Find the value of K such that  > K provides a critical region of size α = 0.05 fo..
How can we make sure that we find maximizer and the maximum : if we use Lagrangian multipliers to solve the consumption and leisure problem,- how can we make sure that you find the maximizer(s) and the maximum.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Fault and performance management in lan

Monitoring and analysis is an important part of fault and performance management in LANs and other networks. Discuss the conditions that can adversely affect network performance, and the current tools (software and hardware) as well as procedures..

  Write a program that accepts two real numbers

Write a program that accepts two real numbers from a user and a select code. If the entered select code is 1, have the program add the two previously entered numbers and display the result

  Derive the expression for variance of the continuous uniform

Derive the expression for variance of the continuous uniform probability distribution (we derived the expression for mean in class). Show your work.

  Prepare a set of non-functional requirements

Prepare a set of non-functional requirements, including operational, performance security, and cultural and political for the fore mentioned scenario:

  What are the values of queuefront and queuerear

What are the value of queueFront and queueRear after removing an element from the queue? Also what was the position of the removal queue element?

  Write cpp pthreads program to discover shortest path in maze

The objective of this assignment is to apply the concepts of threading by developing a simple C++ Pthreads program to discover the surroundings and the shortest path in a 2D maze.

  Use c-strings without using the c-string library

write a program that implementd and test the following functions for use C-strings without using the c-string libaray  ( that is, you re NOT ALLOWED to use #include in this   program):

  Create a class rational which represents a numerical value

Create a class Rational which represents a numerical value by two double values-NUMERATOR & DENOMINATOR . Include the following Public member Functions:

  Area of information security awareness

For this research exercise, write a 4-5 page APA style paper summarizing research in the area of Information security awareness. You may address and focus on any topics that fall within information security awareness theories and programs.

  All nodes of a binary tree need to fulfil

What properties do all nodes of a binary tree need to fulfil? Draw the binary tree for the following sequence of nodes, where all nodes must fulfil the properties for binary trees: 39, 22, 18, 10, 12, 30, 54, 48, 50, 89

  Write program to perform add-drop-list and update functions

Write C++ program to do add, drop, list (in last name / first name sorted order or id) and update functions. separate UI from data processing use object programming method multiple files

  Linked list with first node pointer p.

Complete the code for a function that replaces each occurrence of value x by value y in a linked list with first node pointer p.

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