How can i decrypt the xml file in iOS with AES/CBC/PKCS5Padding standard,in android the file has been decrypted ,all keys like salt, IV

江枫思渺然 提交于 2019-12-04 22:07:49

In order to use RNCryptor it is best to use it on both platforms.

From a previous question it seems that the encrypted data was bytes, not Base64 encoded.

The primitives supplied by Apple Common Crypto and are part of the Security.framework. The header to use is #import <CommonCrypto/CommonCrypto.h> and you will find the interfaces you need in CommonCryptor.h and CommonKeyDerivation.h.

Make an attempt for iOS and add the code along with hex dumps of all input and output parameters and data both for the Android and iOS code.

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