Bouncy Castle Cryptography Library 1.71

org.bouncycastle.crypto.test
Class LEATest

java.lang.Object
  |
  +--org.bouncycastle.util.test.SimpleTest
        |
        +--org.bouncycastle.crypto.test.LEATest
All Implemented Interfaces:
Test

public class LEATest
extends SimpleTest

Test Cases for LEA Cipher. Test Vectors taken from https://en.wikipedia.org/wiki/LEA_(cipher).html


Constructor Summary
LEATest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
          Main entry point.
 void performTest()
           
 void testFromVectorFile()
          Execute test vector file.
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LEATest

public LEATest()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Overrides:
performTest in class SimpleTest

testFromVectorFile

public void testFromVectorFile()
                        throws java.lang.Exception
Execute test vector file.
Throws:
java.lang.Exception -  

main

public static void main(java.lang.String[] args)
Main entry point.
Parameters:
args - the argyments

Bouncy Castle Cryptography Library 1.71