import java.io.*;
import java.util.*;
public class Driver {
public static void main(String[] args) {
System.out.println();
System.out.println("*-* Testing class Cipher *-*");
System.out.println();
Cipher c = new Cipher();
System.out.println("Original Word: AnNa");
System.out.println("Character Offset by 2");
String word = c.caesarEncode("AnNa",2);
System.out.println("Caesar Word: " + word);
System.out.println();
System.out.println("Original Sentence: I'm almost a second-term senior!");
System.out.println("Character Offset by 10");
word = c.caesarEncode("I'm almost a second-term senior!",10);
System.out.println("Caesar Sentence: " + word);
System.out.println();
System.out.println("Using 2nd caeser encoding method");
System.out.println("Original Sentence: I'm almost a second-term senior!");
System.out.println("Character Offset by 10");
word = c.caesarEncode2("I'm almost a second-term senior!",10);
System.out.println("Caesar Sentence: " + word);
System.out.println();
System.out.println("Original Word: pinEapPle");
word = c.rot13("pinEapPle");
System.out.println("Rot13 Word: " + word);
System.out.println();
System.out.println("Frequency of Every Letter in Shakespeare");
System.out.println(c);
}
}