Reference no: EM131267481
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.
Create a class named pizza
: Create a class named Pizza. This class should have three fields : a String for topping ( such as pepperoni, e.g.) , an integer for diameter in inches ( such as 12, e.g.), and a double for price (e.g., 13.99).
|
Create a home inventory database based upon information
: In this graded project, you'll create a home inventory database based upon fictitious information provided in this booklet. Using this data, you'll also perform queries and create reports.
|
What type of organizational structure is used
: What type of organizational structure is used for this organization? Describe two (2) ways that the organization's design affects relationships with external companies. Describe two (2) advantages and two (2) disadvantages that the organization might..
|
Explain the moral choices they must make
: Explain the moral choices they must make and whether their choices are for the best. Right or wrong, the knights have something to teach their society.
|
Important feature of information systems
: 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.
|
Discussed the issues between science and politics
: This week's environmental controversy discussed the issues between science and politics. You read three different articles that should have provided you more insight into the different sides of the issue
|
Describe the values of the two business intelligence tools
: Business intelligence tools are considered the key drivers for many organizations. Identify and evaluate at least two business intelligence tools that could be effectively used to report business performance. Justify your response.
|
Design an m = 4 psk system for transmitting data
: An ideal voice-band telephone line channel has a band-pass frequency-response characteristic spanning the frequency range 600-3000 Hz.
|
Identify potential business environments
: Compare and contrast benefits and challenges that exist between centralized database management systems and distributed database management systems. Identify potential business environments where each can be properly used.
|