Package com.microej.crypto.test
Class DESedeCipherTest
- java.lang.Object
-
- com.microej.crypto.test.DESedeCipherTest
-
public class DESedeCipherTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DESedeCipherTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestDESede_16bytes()Test encryption of 16 data bytes using a DESede key, and verify the output against a precomputed ciphertext.voidtestDESede_16bytes_no_IV()Test encryption of 16 data bytes using a DESede key without an initialization vector.voidtestDESede_80bytes()Test encryption of 80 data bytes using a DESede key, and verify the output against a precomputed ciphertext.voidtestDESede_80bytes_no_IV()Test encryption of 80 data bytes using a DESede key without an initialization vector.voidtestParallelCipherEncryption()Test parallel Cipher initialization and encryption
-
-
-
Method Detail
-
testDESede_16bytes
public void testDESede_16bytes() throws java.lang.ExceptionTest encryption of 16 data bytes using a DESede key, and verify the output against a precomputed ciphertext.- Throws:
java.lang.Exception
-
testDESede_80bytes
public void testDESede_80bytes() throws java.lang.ExceptionTest encryption of 80 data bytes using a DESede key, and verify the output against a precomputed ciphertext.- Throws:
java.lang.Exception
-
testDESede_16bytes_no_IV
public void testDESede_16bytes_no_IV() throws java.lang.ExceptionTest encryption of 16 data bytes using a DESede key without an initialization vector. Decrypt the result and verify it matches the original plaintext.- Throws:
java.lang.Exception
-
testDESede_80bytes_no_IV
public void testDESede_80bytes_no_IV() throws java.lang.ExceptionTest encryption of 80 data bytes using a DESede key without an initialization vector. Decrypt the result and verify it matches the original plaintext.- Throws:
java.lang.Exception
-
testParallelCipherEncryption
public void testParallelCipherEncryption() throws java.lang.ExceptionTest parallel Cipher initialization and encryption- Throws:
java.lang.Exception
-
-