libmcrypt and MS Visual C++

孤者浪人 提交于 2019-12-14 04:27:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!