Question: Use the strategy of the decimal to binary conversion implemented in Project 4 , and the bit shift left operation defined in Project 5 to

 Use the strategy of the decimal to binary conversion implemented in

Use the strategy of the decimal to binary conversion implemented in Project 4 , and the bit shift left operation defined in Project 5 to code a new encryption algorithm. The algorithm should 1. Add 1 to each character's numeric ASCll value. 2. Convert it to a bit string. 3. Shift the bits of this string one place to the left. A single-space character in the encrypted string separates the resulting bit strings. An example of the program input and output is shown below: Enter a message: Hello world! 001001110011011011011101101111000010000111110001110000111001111011011

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!