Bouncy Castle Cryptography 1.30

org.bouncycastle.jce.provider.test
Class GOST28147Test

java.lang.Object
  extended byorg.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


Constructor Summary
GOST28147Test()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 TestResult perform()
           
 TestResult testCFB(int strength, byte[] keyBytes, byte[] input, byte[] output)
           
 TestResult testECB(int strength, byte[] keyBytes, byte[] input, byte[] output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GOST28147Test

public GOST28147Test()
Method Detail

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)

Bouncy Castle Cryptography 1.30