|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBlackbird.ROT13
public class ROT13
Blackbird Encryption Project.
Copyright 2008 Blackbird Encryption Project - www.ravenproject.us
This file is part of Blackbird.Changes
Blackbird is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Blackbird is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Blackbird. If not, see <http://www.gnu.org/licenses/>.
| Nested Class Summary | |
|---|---|
class |
ROT13.EncryptionControlPanel
|
| Field Summary | |
|---|---|
static java.lang.String |
strClassID
|
| Fields inherited from interface Blackbird.EncryptionEntity |
|---|
strBBCodeSelect, strFlatSelect, strHTMLSelect |
| Constructor Summary | |
|---|---|
ROT13(int x)
|
|
| Method Summary | |
|---|---|
java.lang.String |
decrypt(java.lang.String strArgList)
This is the upper level decrypt call into this class. |
byte[] |
encrypt(byte[] b)
This is ROT13s encryption function that, as expected is quite simple. |
java.lang.String |
getClassID()
Return the class identification string. |
int |
getIndex()
Return the assigned index of this class. |
java.lang.String |
getJavaScriptCode()
This function is very important. |
java.awt.MenuItem[] |
getMenuItems()
When the applet launches, each class that is created is queried for its own menu items that are needed to use the control panels. |
int |
getOPCode(java.lang.String s)
Opecode is returned to tell the main applet which part of this class' control panels to launch. |
void |
killPanel()
Internally, there is only one panel to kill, the one used for encryption. |
java.lang.String |
parseID(java.lang.String arglist)
parseID is used by those entities that need to single out an Identifier string needed by a using class to find out "who" created the encryption entry. |
void |
setFrameTarget(int i)
setFrameTarget is used to set a variable that is concated in the Javascript generation function that is set pertaining to the "position" the applet resides in the DOM. |
void |
setID(java.lang.String sid)
Not used in ROT13 |
boolean |
setPasswordExternally(java.lang.String p)
|
void |
showEncryptionControlPanel(int i,
java.awt.Image iconImage,
java.lang.Object o)
Generic function taking arguments that can direct it to display more than one kind of control panel. |
boolean |
testRuntime()
This function always returns true, as there is no third party runtime. |
boolean |
usesPWIVector()
Some Encryption entities use passwords or initialization vectors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String strClassID
| Constructor Detail |
|---|
public ROT13(int x)
| Method Detail |
|---|
public byte[] encrypt(byte[] b)
b -
public java.lang.String getJavaScriptCode()
getJavaScriptCode in interface EncryptionEntity
public void showEncryptionControlPanel(int i,
java.awt.Image iconImage,
java.lang.Object o)
showEncryptionControlPanel in interface EncryptionEntityi - iconImage - o - public java.awt.MenuItem[] getMenuItems()
getMenuItems in interface EncryptionEntitypublic int getIndex()
getIndex in interface EncryptionEntitypublic void killPanel()
killPanel in interface EncryptionEntitypublic int getOPCode(java.lang.String s)
getOPCode in interface EncryptionEntitys -
public boolean testRuntime()
testRuntime in interface EncryptionEntitypublic boolean setPasswordExternally(java.lang.String p)
setPasswordExternally in interface EncryptionEntitypublic java.lang.String decrypt(java.lang.String strArgList)
decrypt in interface EncryptionEntitystrArgList -
public void setFrameTarget(int i)
setFrameTarget in interface EncryptionEntityi - public java.lang.String getClassID()
getClassID in interface EncryptionEntitypublic boolean usesPWIVector()
usesPWIVector in interface EncryptionEntitypublic java.lang.String parseID(java.lang.String arglist)
parseID in interface EncryptionEntityarglist -
public void setID(java.lang.String sid)
setID in interface EncryptionEntitysid -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||