Write a program to demonstrate the knowledge of students in working with interfaces. To encrypt the given text message.
Interface 'EncryptDecrypt' with encrypt( ) and decrypt( ) methods.
A class 'SpaceElimination' to remove the spaces in between the words of the given text message.
Class 'CaeserCipher' that extends 'SpaceElimination' and implements 'EncryptDecrypt' interface.
This class uses an encryption technique, where each letter in the given text is replaced with the letter standing three places further down the alphabet. The decryption is the reverse.
Example:
Plaintext : abcde
Encrypted Text: defgh
Answers
Answered by
0
Answer:
Space animation is the answer of this questions
Similar questions