0

I want to encrypt data on my app.while am google there is encryption allowed using Github libraries, is there any other ways available to do own programatically.

After Import Security framework, cannot able to get AES keywords.

Is there any tutorial available for encrypt data and send to server as json?

Lydia
  • 2,017
  • 2
  • 18
  • 34
  • 1
    You can use the Secruity framework. You can see how here https://github.com/TakeScoop/SwiftyRSA/blob/master/SwiftyRSA/SwiftyRSA.swift – Paulw11 May 21 '16 at 09:13
  • is that framework is default from apple or third party? And i cannot able to find it on XCODE? – Lydia May 21 '16 at 09:14
  • The security framework is from Apple – Paulw11 May 21 '16 at 09:14
  • If you want AES then you need to use CommonCrypto but that is a bit tricky from Swift as it isn't a simple import;http://iosdeveloperzone.com/2014/10/03/using-commoncrypto-in-swift/ http://stackoverflow.com/questions/25248598/importing-commoncrypto-in-a-swift-framework – Paulw11 May 21 '16 at 09:29

0 Answers0