// Cipher.java // Required interface for CS 10 assignment 5, part 2, Fall 2008 // cmc, updated 11/18/08 // DO NOT CHANGE THIS FILE - you will not turn it in /** An interface for classes that encrypt and decrypt text. */ public interface Cipher { /** Encrypts plain text. @param text the text to encrypt. @return the encrypted text as a String. */ String encrypt(String text); /** Decrypts encrypted text. @param text the encrypted text to decrypt. @return the decrypted text as a String. */ String decrypt(String text); }