org.bouncycastle.crypto.test |
Example code and test classes for the lightweight API.
|
Java Source File Name | Type | Comment |
AESFastTest.java | Class | |
AESLightTest.java | Class | |
AESTest.java | Class | |
AESVectorFileTest.java | Class | |
AESWrapTest.java | Class | |
AllTests.java | Class | |
BlockCipherMonteCarloTest.java | Class | a basic test that takes a cipher, key parameter, and an input
and output string. |
BlockCipherVectorTest.java | Class | a basic test that takes a cipher, key parameter, and an input
and output string. |
BlowfishTest.java | Class | |
CamelliaTest.java | Class | |
CAST5Test.java | Class | |
CAST6Test.java | Class | |
CCMTest.java | Class | First four test vectors from
NIST Special Publication 800-38C. |
CipherTest.java | Class | |
CMacTest.java | Class | CMAC tester - Official Test Vectors. |
CTSTest.java | Class | |
DESedeTest.java | Class | |
DESTest.java | Class | |
DHKEKGeneratorTest.java | Class | DHKEK Generator tests - from RFC 2631. |
DHTest.java | Class | |
DigestTest.java | Class | |
DSATest.java | Class | Test based on FIPS 186-2, Appendix 5, an example of DSA. |
EAXTest.java | Class | |
ECDHKEKGeneratorTest.java | Class | ECDHKEK Generator tests. |
ECGOST3410Test.java | Class | ECGOST3410 tests are taken from GOST R 34.10-2001. |
ECIESTest.java | Class | |
ECNRTest.java | Class | ECNR tests. |
ECTest.java | Class | ECDSA tests are taken from X9.62. |
ElGamalTest.java | Class | |
EqualsHashCodeTest.java | Class | |
GOST28147MacTest.java | Class | |
GOST28147Test.java | Class | |
GOST3410Test.java | Class | |
GOST3411DigestTest.java | Class | |
HCFamilyTest.java | Class | HC-128 and HC-256 Tests. |
IDEATest.java | Class | |
ISAACTest.java | Class | |
ISO9796Test.java | Class | test vectors from ISO 9796-1 and ISO 9796-2 edition 1. |
ISO9797Alg3MacTest.java | Class | |
KDF1GeneratorTest.java | Class | KDF1 tests - vectors from ISO 18033. |
KDF2GeneratorTest.java | Class | KDF2 tests - vectors from ISO 18033. |
MacTest.java | Class | MAC tester - vectors from
FIP 81 and
FIP 113. |
MD2DigestTest.java | Class | |
MD4DigestTest.java | Class | standard vector test for MD4 from RFC 1320. |
MD5DigestTest.java | Class | standard vector test for MD5 from "Handbook of Applied Cryptography", page 345. |
MD5HMacTest.java | Class | |
MGF1GeneratorTest.java | Class | MGF1 tests - vectors from ISO 18033 for KDF1 (equivalent). |
ModeTest.java | Class | CFB/OFB Mode test of IV padding. |
NaccacheSternTest.java | Class | Test case for NaccacheStern cipher. |
NoekeonTest.java | Class | |
NullTest.java | Class | |
OAEPTest.java | Class | |
PaddingTest.java | Class | General Padding tests. |
PKCS12Test.java | Class | |
PKCS5Test.java | Class | A test class for PKCS5 PBES2 with PBKDF2 (PKCS5 v2.0) using
test vectors provider at
RSA's PKCS5 Page
The vectors are Base 64 encoded and encrypted using the password "password"
(without quotes). |
PSSBlindTest.java | Class | |
PSSTest.java | Class | |
RC2Test.java | Class | |
RC2WrapTest.java | Class | |
RC4Test.java | Class | |
RC5Test.java | Class | |
RC6Test.java | Class | RC6 Test - test vectors from AES Submitted RSA Reference implementation. |
RegressionTest.java | Class | |
RFC3211WrapTest.java | Class | |
RijndaelTest.java | Class | |
RIPEMD128DigestTest.java | Class | |
RIPEMD128HMacTest.java | Class | |
RIPEMD160DigestTest.java | Class | |
RIPEMD160HMacTest.java | Class | |
RIPEMD256DigestTest.java | Class | |
RIPEMD320DigestTest.java | Class | |
RSABlindedTest.java | Class | |
RSATest.java | Class | |
Salsa20Test.java | Class | |
SEEDTest.java | Class | |
SerpentTest.java | Class | |
SHA1DigestTest.java | Class | standard vector test for SHA-1 from "Handbook of Applied Cryptography", page 345. |
SHA1HMacTest.java | Class | |
SHA224DigestTest.java | Class | standard vector test for SHA-224 from RFC 3874 - only the last three are in
the RFC. |
SHA224HMacTest.java | Class | |
SHA256DigestTest.java | Class | standard vector test for SHA-256 from FIPS Draft 180-2. |
SHA256HMacTest.java | Class | |
SHA384DigestTest.java | Class | standard vector test for SHA-384 from FIPS Draft 180-2. |
SHA384HMacTest.java | Class | |
SHA512DigestTest.java | Class | standard vector test for SHA-512 from FIPS Draft 180-2. |
SHA512HMacTest.java | Class | |
ShortenedDigestTest.java | Class | |
SkipjackTest.java | Class | |
StreamCipherVectorTest.java | Class | a basic test that takes a stream cipher, key parameter, and an input
and output string. |
TEATest.java | Class | |
TigerDigestTest.java | Class | |
TwofishTest.java | Class | |
WhirlpoolDigestTest.java | Class | |
XTEATest.java | Class | |