Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2010-11-23
Medium Priority
Last Modified: 2012-05-10
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
Question by:showbizint
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34204351

Author Comment

ID: 34209881
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.
LVL 33

Expert Comment

ID: 34227236
How many decryption are there exactly?
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.


Author Comment

ID: 34227283
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.
LVL 83

Expert Comment

ID: 34228935
LVL 42

Expert Comment

ID: 34230038
can u post the java code which encrypt the data?
LVL 42

Expert Comment

ID: 34230177
you need the key and the salt value which used to encrypt the data.

Assisted Solution

showbizint earned 0 total points
ID: 34235103
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();

//configure it

//run the Decryption
String decryptedData = decryptor.decrypt(dataToDecrypt, encoding);

Accepted Solution

showbizint earned 0 total points
ID: 34262537
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

Author Closing Comment

ID: 34289983
I found the solution on net

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question