1
answer
1
watching
408
views
shovonLv1
26 Jul 2021
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.
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.
Read by 1 person
26 Jul 2021