import java.util.Scanner; public class EncryptString{ String cipher(String msg, int shift){ String s2 = ""; int len = msg.length();