无法使用mcrypt解密数据.. [英] Unable to decrypt data with mcrypt ..

查看:104
本文介绍了无法使用mcrypt解密数据..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用openssl在C中使用blowfish CBC模式加密数据。

我正在尝试使用PHP mycrypt使用密钥解密数据。但它没有给我实际数据但是有些垃圾文本。我能用mcrypt解密和加密但如果我用ci加密我无法用PHP解密。

I am encrypting the data with blowfish CBC mode in C using openssl.
I am trying to decrypt the data with the key using PHP mycrypt.But it does not give me the actual data but some garbage text.I am able to decrypt and encrypt with mcrypt but if i encrypt with c i am unable to decrypt with PHP.

推荐答案

嘿。


我们没有看到你的代码就能为你做多少,我很害怕。
Hey.

Not much we can do for you without seeing your code, I''m afraid.


哦当然..

我正在使用命令行ssl使用blowfish CBC模式加密文件。


解密代码使用mcrypt。
Oh certainly..
I am using command line ssl to encrypt file using blowfish CBC mode.

The decryption code is using mcrypt.
展开 | 选择 | | 行号


任何想法?

问候

akaash
Any ideas?
regards
akaash


这篇关于无法使用mcrypt解密数据..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆