/* An inelegant program which encrypts and decrypts text using a secret key. Here I am playing the parts of both Bob and Alice as a demonstration only but usually you would only be either Alice or Bob*/ import java.io.*; //This is the java input output library public class NoKeyExchangeEncryption { static String Aencryptdecrypt(String p,int ed) { String Akey="Umbrellas keep you dry when it is raining outside"; //This phrase is Alice's "key" int Akeylength=Akey.length(); String t=""; for(int i=0;i