Class TestSign


public class TestSign
extends Crypto

This application passes everything on standard input to a SignStream and then on through a VerifyStream and onto standard output. This is a very complicated way to achieve nothing at all.

It tests the SignStream, VerifyStream, Signature, RSAKey, SHA1State and other classes.

Logi Ragnarsson (

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)
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


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

Copyright 1997-2000 Logi Ragnarsson