org.bouncycastle.crypto.test

Class BlockCipherMonteCarloTest

Implemented Interfaces:
Test

public class BlockCipherMonteCarloTest
extends java.lang.Object
implements Test

a basic test that takes a cipher, key parameter, and an input and output string. This test wraps the engine in a buffered block cipher with padding disabled.

Constructor Summary

BlockCipherMonteCarloTest(int id, int iterations, BlockCipher engine, CipherParameters param, String input, String output)

Method Summary

String
getName()
TestResult
perform()

Constructor Details

BlockCipherMonteCarloTest

public BlockCipherMonteCarloTest(int id,
                                 int iterations,
                                 BlockCipher engine,
                                 CipherParameters param,
                                 String input,
                                 String output)

Method Details

getName

public String getName()
Specified by:
getName in interface Test


perform

public TestResult perform()
Specified by:
perform in interface Test