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

Constructor Index

 o TestMode()

Method Index

 o createDecrypt(String[], CipherKey, CipherKey)
 o createEncrypt(String[], CipherKey, CipherKey)
 o createKeys(String[])
 o help()
 o main(String[])
Run with arguments DES, TriDES, RSA or Caesar and ECB, CBC, CFB or OFB.
 o test(EncryptMode, DecryptMode)

Constructors

 o TestMode
 public TestMode()

Methods

 o help
 public static void help()
 o createKeys
 public static KeyPair createKeys(String arg[])
 o createEncrypt
 public static EncryptMode createEncrypt(String arg[],
                                         CipherKey pub,
                                         CipherKey pri)
 o createDecrypt
 public static DecryptMode createDecrypt(String arg[],
                                         CipherKey pub,
                                         CipherKey pri)
 o test
 public static boolean test(EncryptMode em,
                            DecryptMode dm)
 o 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