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

  Briefly describe the purpose of firewalls?

While sitting in the break room at work one day, Stan is talking with his friend Joe, who is excitedly describing an idea for a new intrusion detection system (IDS).

  Discuss a case study on your chosen it system

BN203: Network Security/Overview of Network Security Identify three (3) security vulnerabilities in the chosen case study and discuss how these threats can be mitigated using security policies and security tools.

  Create an information flow diagram using visio or dia

Create an information flow diagram, using Visio or Dia, which Illustrates how remote users will securely connect to the government agency's network.

  Write udp programs to establish communication channel

Write UDP programs allowing two parties to establish a secure communication channel. For simplicity, let us call the programs "Host" and "Client", which are executed by Alice and Bob, respectively.

  Fill in the frequency cells using the frequency function

Calculate the Cumulative Interest column. You MUST use the CUMIPMT function and the "Type" will be 0 (Make the value return a positive number). Calculate the Cumulative Principal column.

  Reduce the temptation to become a hacker

Most hackers start their careers breaking into computer systems as teenagers. - What can we as a community of computer professionals do to reduce the temptation to become a hacker?

  How the information will be used for system requirements

How the information will be USED for system requirements - what are the key features of the organizational context of the project - why the project will be successful

  Root certificate authority and an intermediate ca

Is a cryptographic hash function/digest considered encryption - explain three vulnerabilities from the latest Open Web Application Security Project (OWASP).

  Describe malicious things over a computer network

Suppose Ali and Jim are sending packets to each other over a computer network. Suppose Thomas positions himself in the network so he can capture all packets sent by Ali and send whatever he wants to Jim; he can also capture all the packets sent by..

  Discuss physical and logical vulnerabilities

A first step to developing an enterprise security plan is to identify the specific vulnerabilities and related risks facing an organization. This list should be fairly exhaustive. Many vulnerability and threat pairs will not make the final cut for..

  Represent the encryption of plaintext

Let DES(x, K) represent the encryption of plaintext x with key K using the DES cryptosystem. Suppose y = DES(x, K) and y' = DES(c(x), c(K)), where c(·) denotes the bitwise complement of its argument

  What are the specific limitations of a computer system

1. what are the specific limitations of a computer system that provides no operating system? what must be done to load

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