Support Forums
Rot-13 encryptor - Printable Version

+- Support Forums (http://www.supportforums.net)
+-- Forum: Categories (http://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (http://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Java Programming (http://www.supportforums.net/forumdisplay.php?fid=22)
+---- Thread: Rot-13 encryptor (/showthread.php?tid=27338)



Rot-13 encryptor - eagles12 - 11-09-2012

i'm trying to make a rot-13 encryptor and i have the math done but i'm not sure how to get the number that the math will output, to convert back to a letter that will then be outputted by the program as the decrypted message.
i have a for loop in my public String decrypt method that is
for(int i = 0; i < message.length(); i++)
{
}
but i'm not sure what to put inside so if anyone could help me that would be great! thanks! Thumbsup