문제

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

도움이 되었습니까?

해결책 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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top