org.logi.crypto.test
Class TestKey

java.lang.Object
  extended byorg.logi.crypto.Crypto
      extended byorg.logi.crypto.test.TestKey

public class TestKey
extends Crypto

This application tests the various Key classes.

See Also:
Key

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

Method Detail

createKeys

public static KeyPair createKeys(java.lang.String keyType,
                                 java.io.PrintWriter details,
                                 java.io.PrintWriter summary)

test

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

main

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