Skip to content

Instantly share code, notes, and snippets.

@donjordano
Forked from gonecoding/Readme.markdown
Created October 10, 2012 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donjordano/3864812 to your computer and use it in GitHub Desktop.
Save donjordano/3864812 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