Solved

Equivalent function in VB.NET from PHP

Posted on 2013-06-14
3
618 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
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…
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 …

829 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