com.objectwave.crypto
Class SquareTest
java.lang.Object
|
+--com.objectwave.crypto.SquareTest
- public final class SquareTest
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] argv)
|
protected static void |
printBuffer(byte[] buf,
int len,
java.lang.String tag)
|
protected static void |
testCbc(int iterations)
|
protected static void |
testCfb(int iterations)
|
protected static void |
testCts(int iterations)
|
static void |
testEcb(int iterations)
|
static void |
testMode(java.lang.String tag,
SquareMode sq,
byte[] key,
byte[] iv,
byte[] plaintext,
byte[] ciphertext,
int iterations)
|
protected static void |
testOfb(int iterations)
|
static void |
testRaw(int iterations)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SquareTest
public SquareTest()
printBuffer
protected static void printBuffer(byte[] buf,
int len,
java.lang.String tag)
testRaw
public static final void testRaw(int iterations)
throws java.io.IOException
java.io.IOException
testMode
public static final void testMode(java.lang.String tag,
SquareMode sq,
byte[] key,
byte[] iv,
byte[] plaintext,
byte[] ciphertext,
int iterations)
testEcb
public static final void testEcb(int iterations)
testCbc
protected static void testCbc(int iterations)
throws java.io.IOException
java.io.IOException
testCts
protected static void testCts(int iterations)
throws java.io.IOException
java.io.IOException
testCfb
protected static void testCfb(int iterations)
throws java.io.IOException
java.io.IOException
testOfb
protected static void testOfb(int iterations)
throws java.io.IOException
java.io.IOException
main
public static void main(java.lang.String[] argv)
throws java.io.IOException
java.io.IOException