edu.wisc.cs.wes.ciphers
Class SecretCode

java.lang.Object
  extended by edu.wisc.cs.wes.ciphers.SecretCode

public class SecretCode
extends java.lang.Object

Represents a secret code for ciphering and deciphering data.


Constructor Summary
SecretCode(java.lang.String key)
           
 
Method Summary
 java.lang.String getCiphertext(java.lang.String plaintext)
           
 java.lang.String getPlaintext(java.lang.String ciphertext)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecretCode

public SecretCode(java.lang.String key)
Method Detail

getCiphertext

public java.lang.String getCiphertext(java.lang.String plaintext)

getPlaintext

public java.lang.String getPlaintext(java.lang.String ciphertext)