【发布时间】:2014-01-30 14:03:29
【问题描述】:
我试图解决这个问题很长时间,但仍然无法得到结果。我将this openssl library 用于iOS 和this example code。如果我使用此代码加密数据,我也可以解密此代码。但是如果我使用终端和openssl命令加密数据,则无法使用此代码解密加密文件..是否有一些差异或某些事情,不让我成功完成解密..我会很高兴任何建议或建议.. 谢谢。
更新: 我使用的命令: openssl aes-256-cbc -in test.pdf -out test.bin -kfile key -S salt_in_hex
【问题讨论】:
-
请发布使用的 OpenSSL 命令?
-
openssl aes-256-cbc -in test.pdf -out test.bin -kfile key -S salt_in_hex
标签: ios encryption openssl aes