org.bouncycastle.jce.provider.test
Class GOST28147Test
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.GOST28147Test
- org.bouncycastle.util.test.Test
public class GOST28147Test
extends org.bouncycastle.util.test.SimpleTest
basic test class for the GOST28147 cipher
String | getName()
|
static void | main(String[] args)
|
void | performTest()
|
void | testCFB(int strength, byte[] keyBytes, byte[] input, byte[] output)
|
void | testECB(int strength, byte[] keyBytes, byte[] input, byte[] output)
|
getName
public String getName()
- getName in interface org.bouncycastle.util.test.Test
- getName in interface org.bouncycastle.util.test.SimpleTest
main
public static void main(String[] args)
performTest
public void performTest()
throws Exception
- performTest in interface org.bouncycastle.util.test.SimpleTest
testCFB
public void testCFB(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
throws Exception
testECB
public void testECB(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
throws Exception