Solved

Equivalent function in VB.NET from PHP

Posted on 2013-06-14
3
606 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
Comment Utility
0
 

Assisted Solution

by:bc94
bc94 earned 0 total points
Comment Utility
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
Comment Utility
This combined with Replace(Chr(0), String.Empty) and an md5 function to generate the keys works perfectly, thank you.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
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 count occurrences of each item in an array.

772 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

10 Experts available now in Live!

Get 1:1 Help Now