0

I am working on an iOS application where a user will have an encryption key and I want to be able:

  1. create an encryption/decrption key
  2. encrypt data
  3. decrypt data

I have no idea how to do either because I have never worked with iOS encryption before.

Thank you

P.S. The server I am using to send the encrypted data back and forth is a Node.JS if that changes anything.

1 Answer 1

1

What you are looking for is details on the CommonCrypto module of the Security.framework for iOS. If you want a shortcut, here is a NSData category that performs AES encryption and decryption.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.