Below is the sample code and

 string myKey = ConfigurationManager.AppSettings["DigiIntegrationKey"];
            byte[] key = Encoding.UTF8.GetBytes(myKey);
            byte[] IV = Arrays.copyOf(key, 16);
           ** Cipher cipher = Cipher.getInstance(TRANSFORMATION);**

Highlighted last line is giving error.

Tried putting IKVM_HOME variable in environment variable but no luck. Also tried using ikvm.properties file but not sure how to use the same

0

There are 0 best solutions below