org.bouncycastle.jce.provider.test
Class GOST28147Test
java.lang.Object
|
+--org.bouncycastle.jce.provider.test.GOST28147Test
- All Implemented Interfaces:
- Test
- public class GOST28147Test
- extends java.lang.Object
- implements Test
basic test class for the GOST28147 cipher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GOST28147Test
public GOST28147Test()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
testECB
public TestResult testECB(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
testCFB
public TestResult testCFB(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
perform
public TestResult perform()
- Specified by:
perform
in interface Test
main
public static void main(java.lang.String[] args)