Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Equivalent function in VB.NET from PHP

Posted on 2013-06-14
Medium Priority
Last Modified: 2013-06-25

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
Question by:bc94
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
  • 2
LVL 83

Accepted Solution

CodeCruiser earned 2000 total points
ID: 39249903

Assisted Solution

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.

Author Closing Comment

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

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
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

610 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