org.logi.crypto.test
Class TestMode

java.lang.Object
  |
  +--org.logi.crypto.Crypto
        |
        +--org.logi.crypto.test.TestMode
All Implemented Interfaces:
PrettyPrintable

public class TestMode
extends Crypto

This application tests the various encryption-mode classes.

Author:
Logi Ragnarsson (logir@logi.org)
See Also:
EncryptSession

Fields inherited from class org.logi.crypto.Crypto
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO
 
Method Summary
static void main(java.lang.String[] arg)
           
static boolean test(java.lang.String keyType, java.lang.String mode, java.io.PrintWriter details, java.io.PrintWriter summary)
           
 
Methods inherited from class org.logi.crypto.Crypto
binString, binString, ensureArrayLength, ensureArrayLength, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, prettyPrint, prettyPrint, readBlock, readInt, trimArrayLength, trimArrayLength, trimLeadingZeroes, writeBytes, writeBytes, writeInt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

test

public static boolean test(java.lang.String keyType,
                           java.lang.String mode,
                           java.io.PrintWriter details,
                           java.io.PrintWriter summary)
                    throws java.lang.Exception

main

public static void main(java.lang.String[] arg)
                 throws java.lang.Exception


Copyright 1997-2000 Logi Ragnarsson