org.logi.crypto.test
Class TestCDS

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

public class TestCDS
extends Crypto

Parse the CDS from the command line and print out the object it represents or an error mesage.

See Also:
EncryptMode

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 void main(java.lang.String[] arg)
          The CDS on the command-line is parsed into an object and promptly written back to standard output.
 
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

main

public static void main(java.lang.String[] arg)
                 throws java.lang.Throwable
The CDS on the command-line is parsed into an object and promptly written back to standard output. This is useful for testing CDS's and for generating CDS's with constructs like DES(?).

Throws:
java.lang.Throwable - Something went wrong