org.ninjasoft.magiccodes.plugins
Class VigenereDecrypt

java.lang.Object
  extended byorg.ninjasoft.magiccodes.plugins.VigenereDecrypt
All Implemented Interfaces:
Plugin

public class VigenereDecrypt
extends java.lang.Object
implements Plugin

Vigenere Decryption

Author:
enigma

Constructor Summary
VigenereDecrypt()
           
 
Method Summary
 char decodeLetters(char letter1, char letter2)
           
 int[] doAction(int[] in, int[] key)
          Take input data and spit out output data
 java.lang.String getDescription()
          Return a complete description of this plugin
 java.lang.String getName()
          Return a simple one or two word name describing this plugin
 boolean isInformational()
          Does this plugin actually transform stuff, or is it simply informational.
 java.lang.String strip(int[] s)
           
 boolean usesKey()
          Returns whether this plugin uses the key at all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VigenereDecrypt

public VigenereDecrypt()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Plugin
Return a simple one or two word name describing this plugin

Specified by:
getName in interface Plugin

getDescription

public java.lang.String getDescription()
Description copied from interface: Plugin
Return a complete description of this plugin

Specified by:
getDescription in interface Plugin

usesKey

public boolean usesKey()
Description copied from interface: Plugin
Returns whether this plugin uses the key at all

Specified by:
usesKey in interface Plugin

isInformational

public boolean isInformational()
Description copied from interface: Plugin
Does this plugin actually transform stuff, or is it simply informational. Informational plugins ALWAYS have text mode output.

Specified by:
isInformational in interface Plugin

doAction

public int[] doAction(int[] in,
                      int[] key)
Description copied from interface: Plugin
Take input data and spit out output data

Specified by:
doAction in interface Plugin

decodeLetters

public char decodeLetters(char letter1,
                          char letter2)

strip

public java.lang.String strip(int[] s)


Copyright © 2004 Ninjasoft. All Rights Reserved.