Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何将nsstring转换为php中也支持的加密格式?_Iphone_Encryption_Nsstring_Cryptography - Fatal编程技术网

Iphone 如何将nsstring转换为php中也支持的加密格式?

Iphone 如何将nsstring转换为php中也支持的加密格式?,iphone,encryption,nsstring,cryptography,Iphone,Encryption,Nsstring,Cryptography,我想将一个NSString转换成某种加密格式,然后对其进行解密,但问题是我使用的是PHPWeb服务,而且我还关心我使用的方法在中是否受支持 所以我想要一些在objective-c和php之间受支持或兼容的方法。我的字符串在服务器上,所以我想转换它们 提前感谢:-) 我使用这个库取得了很好的成功,您只需调用encryptData:,使用您想要的任何选项,然后decryptData稍后将其取回。有关详细信息,请参阅github页面,如果您想实际了解发生了什么,请参阅RNCryptor.h和.m

我想将一个
NSString
转换成某种加密格式,然后对其进行解密,但问题是我使用的是PHPWeb服务,而且我还关心我使用的方法在中是否受支持

所以我想要一些在objective-c和php之间受支持或兼容的方法。我的字符串在服务器上,所以我想转换它们

提前感谢:-)

我使用这个库取得了很好的成功,您只需调用
encryptData:
,使用您想要的任何选项,然后
decryptData
稍后将其取回。有关详细信息,请参阅github页面,如果您想实际了解发生了什么,请参阅RNCryptor.h和.m