org.ninjasoft.magiccodes.plugins
Interface Plugin

All Known Implementing Classes:
AnalyzeFrequency, Base64Decoder, Base64Encoder, Md5, NoOp, RotN, TexelCode, VigenereCrypt, VigenereDecrypt, Xor, XorAnalysis

public interface Plugin

The plugin interface

Author:
enigma

Method Summary
 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.
 boolean usesKey()
          Returns whether this plugin uses the key at all
 

Method Detail

getName

public java.lang.String getName()
Return a simple one or two word name describing this plugin


getDescription

public java.lang.String getDescription()
Return a complete description of this plugin


usesKey

public boolean usesKey()
Returns whether this plugin uses the key at all


isInformational

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


doAction

public int[] doAction(int[] in,
                      int[] key)
Take input data and spit out output data



Copyright © 2004 Ninjasoft. All Rights Reserved.