Skip to content

Instantly share code, notes, and snippets.

@kevinchl
Forked from gonecoding/Readme.markdown
Created June 4, 2012 08:02
Show Gist options
  • Select an option

  • Save kevinchl/2867106 to your computer and use it in GitHub Desktop.

Select an option

Save kevinchl/2867106 to your computer and use it in GitHub Desktop.
Adding methods to NSData and NSString using categories to provide AES256 encryption on iOS

Important notice

I took down this Gist due to concerns about the security of the encryption/decryption part of this code (see comments below).

Rob Napier (@rnapier) has created a publicly available class that provides similar AES encryption/decryption functionality at https://github.com/rnapier/RNCryptor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment