问题
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
回答1:
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.
回答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.
来源:https://stackoverflow.com/questions/2815667/libmcrypt-and-ms-visual-c