Link to home
Start Free TrialLog in
Avatar of bc94
bc94

asked on

Equivalent function in VB.NET from PHP

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
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bc94
bc94

ASKER

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