Solved

Equivalent function in VB.NET from PHP

Posted on 2013-06-14
3
610 Views
Last Modified: 2013-06-25
Hello,

I'm trying to find an equivalent decryption function in VB.NET for Studio 2012 for the following:

$c_node_data = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($apikey), base64_decode($DATA_STRING_HERE)), MCRYPT_MODE_CBC, md5(md5($apikey))), "\0");

Thank you
0
Comment
Question by:bc94
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39249903
0
 

Assisted Solution

by:bc94
bc94 earned 0 total points
ID: 39263610
This combined with Replace(Chr(0), String.Empty) and an md5 function to generate the keys works perfectly, thank you.
0
 

Author Closing Comment

by:bc94
ID: 39274182
This combined with Replace(Chr(0), String.Empty) and an md5 function to generate the keys works perfectly, thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now