For my iOS app, I have implemented Parse as the backend and want to ensure the data transmitted between Parse and the device is encrypted. To achieve this, I have turned to Parse Cloud Code for server-side encryption and decryption of all data exchanges.
While Parse offers a 'crypto' module by default, I couldn't locate any documentation for it. Hence, I decided to use crypto-js and incorporated the necessary files for AES encryption and decryption into the Parse Cloud Code /cloud
directory.
The challenge arises when I receive the output from crypto-js's AES functions, as I'm uncertain about the type of object being returned. It appears to be an NSDictionary object, although I expected either an NSString or NSData. This discrepancy has left me puzzled on how to proceed further.
If possible, kindly advise on any additional details required or point out any potential misconceptions I might have. Your assistance will be greatly appreciated.