how to decrypt string encrypted in objective-c as below
size_t numBytesEncrypted = 0; CCCryptorStatus cryptStatus = CCCrypt(kCCEncrypt,
kCCAlgorithmAES128,
kCCOptionPKCS7Padding,
keyPtr,
kCCKeySizeAES256,
NULL /* initialization vector (optional) */,
[data_String bytes],
dataLength, /* input */
buffer,
bufferSize, /* output */
&numBytesEncrypted);
Is there any common encryption/decryption method in iOS and Android ?
thanks in advance
0 comments:
Post a Comment