GitHub Viewer
public class Cipher {
public static void main(String[] args) {
String str = "";
String enc = encrypt(str);
System.out.println(str + " " + enc + " " + decrypt(enc));
}
public static String encrypt(String text) {
String result = "";
for (int i = 0; i < text.length(); i++) {
char c = text.charAt(i);
if (c >= 'a' && c = 'A' && c = 'a' && c = 'A' && c