I'm trying to encrypt strings on my server and send it to my iPhone.
When I'm encrypting on my iphone and send it to decryption on my server, every thing is OK.
But when I'm trying to encrypt on my server (php page
) I can't decrypt it on my iPhone.
e.g.: When I encrypt "True" on my PHP, I am getting:
ca 82 66 c8 be 5a a9 fb d8 7f 25 b6 1e f0 fb 68 54 72 75 65 0 0 0 0 0 0 0 0 0 0 0 0
then I'm doing some - base64
yoJmyL5aqfvYfyW2HvD7aA== when im sending it to my iphone i cant decrypt it right ..
But when I'm trying to encrypt "True" on my Iphone I'm getting:
ca 82 66 c8 be 5a a9 fb d8 7f 25 b6 1e f0 fb 68 54 72 75 65 c c c c c c c c c c c c
base64-
fwqkKsopev3Xmu4BF4OE5Q==
Can someone guide me towards a solution?