1
answer
1
watching
408
views

Your friend is paranoid about privacy and wants to encrypt everything. But your friend does not know 
anything about programming. So, he wants you to code a program for him, which will automate the 
encryption process for him. The program will first take a plain text/input text and an encryption key 
(integer). Then, it will reverse the plain text, replace whitespaces with ‘*’ then shift the alphabets of the 
plain text according to the encryption key. Finally, it would show the cipher-text/ encrypted text.

Input Structure:
● T, plain text.
● K, encryption key.

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
Read by 1 person

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in

Weekly leaderboard

Start filling in the gaps now
Log in