Question: character encoding can you please do this (java) thank you Implement a cipher that takes a text written in standard US-English and performs the following

character encoding
can you please do this (java)
thank you  character encoding can you please do this (java) thank you Implement

Implement a cipher that takes a text written in standard US-English and performs the following operations: 1. Remove all whitespace 2. Remove all punctuation symbols 3. Convert all alphabetic characters to lower case 4. Perform a shitt of 4 (mod 26) on each character, and convert it to upper case 5. Create an output array/list that contains the ordinal values of all characters at even positions (0, 2, 4, ...), followed by the ordinal values of all characters at odd positions (1,3,5,...) 6. Print the output array in groups of five characters. Values should be printed in hex values. Separate values by a single space, and separate letter groups by newlines Example Input: Hello world! would be converted in the following steps. step 1: Hello world! (removed whitespace) step 2: HelloWorld (removed punctuation) Step 3: helloworld (case folding) step 4: lippsasvph (shift), followed by case folding (LIPPSASVPH) step 5: Hex values are (Oxac, Ox 49, Ox50, 0x50, Ox53, 0x41, Ox530x56, Ox50, 0x48). Listing all even positions first, then the odds Ox4,0x50,0x53,0x53, Ox50, 0x49, Ox50, 0x01, Ox56, 0x48) step 6. Current ciphertext is (Ox4c, Ox50, Ox53,0x53, 0x50, 0x49, 0x50, 0x41, Ox56, 0x48). Print in groups of 5: exAC OX50 QX53 BX53 50 0X49 6x50x410x560x48

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!