Bouncy Castle Cryptography Library 1.66

org.bouncycastle.crypto.test
Class HCFamilyTest

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

public class HCFamilyTest
extends SimpleTest

HC-128 and HC-256 Tests. Based on the test vectors in the official reference papers, respectively: http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf See HCFamilyVecTest for a more exhaustive test based on the ecrypt vectors.


Constructor Summary
HCFamilyTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, 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

HCFamilyTest

public HCFamilyTest()
Method Detail

getName

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

performTest

public void performTest()
Overrides:
performTest in class SimpleTest

main

public static void main(java.lang.String[] args)

Bouncy Castle Cryptography Library 1.66