All Packages Class Hierarchy This Package Previous Next Index
Class is.hi.logir.cryptonite.test.TestMode
java.lang.Object
|
+----is.hi.logir.cryptonite.Cryptonite
|
+----is.hi.logir.cryptonite.test.TestMode
- public class TestMode
- extends Cryptonite
This application tests the various encryption-mode classes.
- Author:
- Logi Ragnarsson
(logir@hi.is)
- See Also:
- EncryptMode
-
TestMode()
-
-
createDecrypt(String[], CipherKey, CipherKey)
-
-
createEncrypt(String[], CipherKey, CipherKey)
-
-
createKeys(String[])
-
-
help()
-
-
main(String[])
- Run with arguments DES, TriDES, RSA or Caesar and ECB, CBC, CFB or OFB.
-
test(EncryptMode, DecryptMode)
-
TestMode
public TestMode()
help
public static void help()
createKeys
public static KeyPair createKeys(String arg[])
createEncrypt
public static EncryptMode createEncrypt(String arg[],
CipherKey pub,
CipherKey pri)
createDecrypt
public static DecryptMode createDecrypt(String arg[],
CipherKey pub,
CipherKey pri)
test
public static boolean test(EncryptMode em,
DecryptMode dm)
main
public static void main(String arg[])
- Run with arguments DES, TriDES, RSA or Caesar and ECB, CBC, CFB or OFB.
All Packages Class Hierarchy This Package Previous Next Index