Problem?
im trying to write a progarm that first encrypt and decrypt a message.
But Im having trouble only on the decrypt part and i cannot compile can someone help me:
Loop an index i for all ints encrypted
append to plaintext the alphabet cahr at an idex
stored in encrypted
code that i had so far:
private void decrypt(){
for (int i = 0; i < encrypted.length(); i++)
{
plaintext.append();
}
}
}
[483 byte] By [
JohnMLa] at [2007-11-27 2:45:31]

You have to provide details. Paste in the exact, complete error message and make it clear which line it's talking aobut.
When you post code, please use[code] and [/code] tags as described in [url=http://forum.java.sun.com/help.jspa?sec=formatting]Formatting tips[/url] on the message entry page. It makes it much easier to read.
Another suggestion is to post an SSCE, a Short, Self Contained, Compilable Example (see [url=http://homepage1.nifty.com/algafield/sscce.html]this site[/url] for more details).
This should be the shortest segment of code that is self contained and can compile all on its own and also demonstrates your problem.
Good luck.
/Pete