Class GOST28147Test

  • All Implemented Interfaces:
    Test

    public class GOST28147Test
    extends SimpleTest
    basic test class for the GOST28147 cipher
    • Constructor Detail

      • GOST28147Test

        public GOST28147Test()
    • Method Detail

      • testECB

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

        public void testCFB​(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)