Question: Write a short Java program that uses private key (symmetric) encryption method to encrypt a short string. Approximate algorithm: Enter a text string Use Java
Write a short Java program that uses private key (symmetric) encryption method to encrypt a short string. Approximate algorithm:
Enter a text string
Use Java to generate a key and encrypt the string
Use Java (and the key) to decrypt the string
Compare original and decrypted string to make sure it is the same
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
