Question

Has anyone tried using libmcrypt and visual c++? I was trying to use Crypto++ but it seems not fully compatible - and I need to decrypt data encrypted in PHP using linux libmcrypt.

I found only cygwin version of libmcrypt but no .lib files or header.

I'm using RIJNDAEL_128 - maybe there is easier way to decrypt it in Visual C++?

Thanks

Was it helpful?

Solution 2

I finally found a working libmcrypt version compatible with Visual Studio It is here http://files.edin.dk/php/win32/mcrypt/dev/ and worked correctly.

OTHER TIPS

I'd be surprised if Crypto++ didn't do the job frankly. It is a bit awkward to use and is fairly badly documented, but I have found it very powerful in the past.

By RIJNDAEL_128 I am assuming you mean AES? In which case, Crypto++ can help . This codeproject article ought to be a good starting point too.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top