org.bouncycastle.jce.provider.test

Class GOST28147Test

public class GOST28147Test extends SimpleTest

basic test class for the GOST28147 cipher
Method Summary
StringgetName()
static voidmain(String[] args)
voidperformTest()
voidtestCFB(int strength, byte[] keyBytes, byte[] input, byte[] output)
voidtestECB(int strength, byte[] keyBytes, byte[] input, byte[] output)

Method Detail

getName

public String getName()

main

public static void main(String[] args)

performTest

public void performTest()

testCFB

public void testCFB(int strength, byte[] keyBytes, byte[] input, byte[] output)

testECB

public void testECB(int strength, byte[] keyBytes, byte[] input, byte[] output)