I'm trying to take a string, from a JOptionPane and change it into a
char array in which I can manipulate the characters as ASCII with
other char arrays and append into a new string. I've declared
tempArray as char[], and uPhrase is a string. this is a simple
vinere encryption program....not as easy for the beginner as it seems.
I have to take a key phrase, a test phrase and return an encrypted
phrase based on a ascii shift method.
any help is muach appreciated.
TIA
public char[] toCharArray()
{
char[] tempArray = new char[99];
tempArray = String.toCharArray(uPhrase);
return tempArray;
}