i want someone to to code this program for me please
i need to code a program that ask the user to input a text
and print the encrypted code for this text
example
String text=JOptionPane.showInputDialog("Please input the text to encrypt");
user input: hello my phone is 089787424
the output is after encryption: "ao823i43345tkoj8q" (just example not real)
and i need another program to decrypt the encrypted text
example:
String text=JOptionPane.showInputDialog("Please input the text to decrypt");
user input: ao823i43345tkoj8q
the output is after encryption: "hello my phone is 089787424" (just example not real)
============
please note that the work limited with this functions and methods
that's you can use:
JOptionPane
int,double,char,boolean,...
if
switch
for
while
do while
length
charAt
===========
