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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HCFamilyTest
public HCFamilyTest()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
performTest
public void performTest()
- Specified by:
performTest
in class SimpleTest
main
public static void main(java.lang.String[] args)