Help with code
I'm doing a program for school. We have to enter a word that will become encrypted using an array. And then decrypt the word after. This is what I have so far but not sure what to do now. Thanks in advance for your help.
import java.util.*;
publicclass Security{
String Unencrypted[] ={"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
String Encrypted[] ={"Y","Z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X"};
public Security(){
}
public String encrypt(String a){
returnnull;
}
public String decrypt(String a){
returnnull;
}
publicstaticvoid main(String [] args)
{
Scanner scan =new Scanner(System.in);
System.out.println("please enter a word: ");
String text = scan.next();
}
}

