/*
 * 2004 Utah High School Programming Contest, University of Utah
 * Take-Home Problem
 *
 * SubstitutionCipher.java
 *
 * This file contains the implementation of the SubstitutionCipher class.
 */

/**
 * A SubstitutionCipher implements a particular letter substitution algorithm,
 * in which every letter is replaced by some other letter.
 *
 * SubstitutionCipher implements the Cipher interface.  SubstitutionCiphers are
 * created by the Search class.
 */
class SubstitutionCipher implements Cipher {
    // TODO: Add members to implement the SubstitutionCipher class.
    
    /**
     * Construct a SubstitutionCipher object to implement a particular letter
     * substitution algorithm.  Letter case is preserved.  Only upper- and
     * lowercase letters are translated; all other characters "decrypt" to
     * themselves.
     *
     * THIS METHOD IS NOT YET IMPLEMENTED.
     */
    SubstitutionCipher() {
        // TODO: Implement this method.
        //
        // You will probably need to add arguments to this constructor.
    }
    
    /**
     * Modify the given StringBuffer by applying this SubstitutionCipher's
     * algorithm to it.  This may or may not actually decrypt the StringBuffer
     * into English text; the caller must decide if this SubstitutionCipher's
     * algorithm actually "worked."
     *
     * THIS METHOD IS NOT YET IMPLEMENTED.
     *
     * @param cryptogram    the StringBuffer to be modified
     */
    public void decipher(StringBuffer cryptogram) {
        // TODO: Implement this method.
    }
}

// End of file.

