Hi,
As I'm testing your encryptor, the out put is not matched with http://aesencryption.net/.
We need to use AES 256 in both server side and the iOS app but I can not get the right out put for any data.
For ex:
NSString* encrypted = [FBEncryptorAES encryptBase64String:@"hello"
keyString:@"somekey"
separateLines:NO];
returns me: gCSyt7HUKZY/cUda3zcb4w==
but the http://aesencryption.net/ returns : i6PoffMYyd1ZLQSFl03DxWmIbD5dvOQRXLmjNnHmmjM=
As you both said the out puts are Base64 too.
Where is the problem? Please help me out.
Thanks.
Hi,
As I'm testing your encryptor, the out put is not matched with http://aesencryption.net/.
We need to use AES 256 in both server side and the iOS app but I can not get the right out put for any data.
For ex:
NSString* encrypted = [FBEncryptorAES encryptBase64String:@"hello"
keyString:@"somekey"
separateLines:NO];
returns me: gCSyt7HUKZY/cUda3zcb4w==
but the http://aesencryption.net/ returns : i6PoffMYyd1ZLQSFl03DxWmIbD5dvOQRXLmjNnHmmjM=
As you both said the out puts are Base64 too.
Where is the problem? Please help me out.
Thanks.