Class DESedeCipherTest


  • public class DESedeCipherTest
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testDESede_16bytes()
      Test encryption of 16 data bytes using a DESede key, and verify the output against a precomputed ciphertext.
      void testDESede_16bytes_no_IV()
      Test encryption of 16 data bytes using a DESede key without an initialization vector.
      void testDESede_80bytes()
      Test encryption of 80 data bytes using a DESede key, and verify the output against a precomputed ciphertext.
      void testDESede_80bytes_no_IV()
      Test encryption of 80 data bytes using a DESede key without an initialization vector.
      void testParallelCipherEncryption()
      Test parallel Cipher initialization and encryption
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DESedeCipherTest

        public DESedeCipherTest()
    • Method Detail

      • testDESede_16bytes

        public void testDESede_16bytes()
                                throws java.lang.Exception
        Test 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.Exception
        Test 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.Exception
        Test 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.Exception
        Test 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.Exception
        Test parallel Cipher initialization and encryption
        Throws:
        java.lang.Exception