Class Shacal2Test

  • All Implemented Interfaces:
    Test

    public class Shacal2Test
    extends SimpleTest
    basic test class for the Shacal2 cipher, vector from NESSIE (Test vectors set 8, vector# 0)
    • Constructor Detail

      • Shacal2Test

        public Shacal2Test()
    • Method Detail

      • testECB

        public void testECB​(int strength,
                            byte[] keyBytes,
                            byte[] input,
                            byte[] output)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        Throws:
        java.lang.Exception
      • main

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