how to decrypt in vb .net 1.1, which encrypted in Java

How can I decrypt a string in VB .NET 1.1, which is encrypted using Java Libraries
using 128 bit AES Test Key
Using Character Encoding: UTF-8
Using Encryption Algorithm: Rijndael
Encryption Provider: Cryptix
showbizintAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
showbizintConnect With a Mentor Author Commented:
Thanks for all the help here. I found the solution.
Converted java files to jar file and created dll out of it. Imported dll to .net project and now can use the same algorithm of java. Again thank you for looking at the problem
0
 
Kumaraswamy RCommented:
0
 
showbizintAuthor Commented:
Thanks for the link rkworlds.
But this example is about how to encrypt in VB .net and send it to Java servlet. I want to do exact opposite. The string is already encrypted using Java Library and i want to decrypt in VB .net 1.1.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
hongjunCommented:
How many decryption are there exactly?
0
 
showbizintAuthor Commented:
The string is encrypted using java libraries... with Encryption algorithm Rijndael provider Cryptix.
Using Character Encoding: UTF-8 and 128 bit AES Test Key. It can be easily decrypt in java using these parameters but i want to decrypt in VB .NET 1.1. As far as I know its just one decryption.
0
 
CodeCruiserCommented:
0
 
Meir RivkinFull stack Software EngineerCommented:
can u post the java code which encrypt the data?
0
 
Meir RivkinFull stack Software EngineerCommented:
you need the key and the salt value which used to encrypt the data.
0
 
showbizintConnect With a Mentor Author Commented:
The java code to decript

String key = "secretkeytodecript";
String dataToDecrypt = "47FB303B47D3E0568148B71912A77C2D6CF6E2283BA47DC";
String encoding = "UTF-8";
String encAlgorithm = "Rijndael";
String encMode = "AES";
EncryptDecryptUtil decryptor = new EncryptDecryptUtil();
decryptor.setEncKey(key);
decryptor.setEncAlgorithm(encAlgorithm);
decryptor.setEncMode(encMode);      

//configure it
decryptor.configure();

//run the Decryption
String decryptedData = decryptor.decrypt(dataToDecrypt, encoding);
0
 
showbizintAuthor Commented:
I found the solution on net
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.