Question: Write a java program to apply the encryption and decryption technique to send secrete message from one method to another. Create a method called

Write a java program to apply the encryption and decryption technique to send secrete message from one method to another. Create a method called sender) to send the secrete string from the user by converting the string into byte array and pass it as an argument. Create another method called receiver() to receive the byte array and unwrap it and see the original message. Sample input and output: Sender Input send the String and should convert as byte array to pass as argument receiver: receive the byte array and unwrap and see the original message which is to be displayed on the screen (consider the necessary conversion to execute the code as required)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
