Encrypte consists of translating each character into another

Assignment Help Computer Network Security
Reference no: EM131267417

Assignment

Security is an important feature of information systems. Often, text is encrypted before being sent, and then decrypted upon receipt. We want to build a class (or several classes) encapsulating the concept of encryption. You will need to test that class with a client program where the main method is located.

For this project, encrypting consists of translating each character into another character. For instance, if we consider the English alphabet, including characters a through z, each character is randomly encrypted into another, which could be the same character. (if you like, you can design your program so that no character in encrypted into itself.) To represent this concept, we can have an array of characters for the original alphabet, and another array of characters for the encrypted alphabet.

To encrypt a word, each letter in the work is replaced by the corresponding letter in the encrypted alphabet. For example, the word caged would be encrypted into huzsa. To decrypt a word, the letters in the encrypted word are replaced by the corresponding letter in the original alphabet. For example, the encrypted word xssa would be decrypted as feed.

If we have 26 different characters in the original alphabet, then we will have 26 different characters in the encrypted alphabet. Furthermore, the encrypted alphabet should be randomly generated.

In your main method, you should prompt the user for a sentence. Your program should encrypt the sentence, output the encrypted sentence, then decrypt it, and output the decrypted sentence, which should be identical to the original sentence that was input by the user.

Reference no: EM131267417

Questions Cloud

Describe the procedure for setting the right price : Describe the procedure for setting the right price. -  A price strategy establishes a long-term pricing framework for a good or service.
Gathering system requirements : According to the textbook, one of the toughest problems in investigating systems requirements is ensuring that they are complete and comprehensive. Imagine that you are a systems analyst. Decide the primary way in which you would ensure that you s..
Assess the lessons of the arab-israeli conflict : Speculate on the probable future of the dispute based on your readings in Roskin and your familiarity with current events. Assess the lessons of the Arab-Israeli conflict. Discuss which lessons are the most relevant today. Explain why
Administrative employee of a company : Imagine a scenario where Jane, an administrative employee of a company, receives a call from James, the company's security administrator. He announces that he is calling everyone to inform them about this coming weekend's upgrade to the accounting..
Encrypte consists of translating each character into another : For this project, encrypting consists of translating each character into another character. For instance, if we consider the English alphabet, including characters a through z, each character is randomly encrypted into another.
Provide a detailed cost breakdown : Provide a detailed cost breakdown for using a level vs. a chase strategy to meet the increased demand. Which strategy do you recommend
How clear was the intent of the discussion : Recognize the elements and correct use of a thesis statement - Associate the features of audience, purpose, and text with various genres
Find the error probability for an fh spread spectrum signal : The FSK demodulator outputs are square-law-detected and passed to the decoder, which performs optimum soft-decision Viterbi decoding . Assume that the hopping rate is 1 hop per coded bit.
Identify risk and benefit of sourcing globally versus localy : Question: There has been in a push in many communities to source locally. Identify the risks and benefits of sourcing globally versus locally

Reviews

Write a Review

Computer Network Security Questions & Answers

  What data can you leak when using public hotspots

What data can you leak when using public hotspots and how can you protect yourself when using them

  Write access control policy section of information security

Write the Access Control Policy section of the Information Security Policy. Include the User enrollment, Identification, Authentication, Privileged and special account access and Remote access.

  Describe data link control

Describe data link control

  Build a pair of multi-threaded servers

In this assignment you will build a pair of multi-threaded servers that accept input from multiple clients, and return appropriate output - implement a secondary administration channel to your servers, and manually maintain the state of all convers..

  Explain two-bit system noninterference-secure

The initial state is not output (in contrast to the example). Is this version of two-bit system noninterference-secure with respect to Lucy? Why or why not?

  Redesign the university ip addressing space

Redesign the University IP addressing space. The University owns 2 x Class B (144.149.0.0 and 131.172.0.0) IPv4 Public IP addressing space and also utilizes IPv4 Private IP addresses

  Case study - asymmetric and symmetric encryption

Case Study - Asymmetric and Symmetric Encryption, ABC Institute of Research has sensitive information that needs to be protected from its rivals. The Institute has collaborated with XYZ Inc. to research genetics

  Benefits of an information system

Suppose monetary advantages of an information system of $50,000 the 1st year and increasing benefits of $5000a year of the next four years year 1=$50,000;

  How system shall recover from attacks failures and accidents

Discuss how the system shall recover from attacks, failures, and accidents. Discuss how the system will address User Account Management and related security improvements.

  What should network engineers expect to happen with security

Why is the current practice of securing the enterprise by hiding it behind hardened firewalls becoming extinct? What should network engineers expect to happen with security in 2 years?

  Mobile computing and social networking

Mobile Computing and Social Networking

  Describe the merits and demerits of other uses of this

in recent years the fcc and other bodies around the world have been removing spectrum dedicated to analog tv

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