private static byte[] Final(int[] internalState) {
        byte[] diegest = new byte[16];
        int count = 0;
        for (int i = 0; i < 4; i++) {
            int n = (i == 0) ? internalState[0] : ((i == 1) ? internalState[1] : ((i == 2) ? internalState[2] : internalState[3]));
            for (int j = 0, k = 0; j < 4; j++) {
                diegest[count++] = (byte) n;
                n >>>= 8;
            } // end for
        } // end for
        return diegest;
    }