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.
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
|