Class GOST3412Test

  • All Implemented Interfaces:
    Test

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

      • GOST3412Test

        public GOST3412Test()
    • Method Detail

      • testECB

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

        public void testCFB​(byte[] keyBytes,
                            byte[] iv,
                            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)