Last active
August 29, 2015 14:19
-
-
Save lifeisfoo/0a1e68b0c0ae2f306207 to your computer and use it in GitHub Desktop.
iOS AES-256 encryption (headers)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See for converting from e to NSString: http://ios-blog.co.uk/tutorials/quick-tips/quick-tip-converting-nsstring-to-nsdata/ | |
@interface NSData (Encryption) | |
- (NSData *)AES256EncryptWithKey:(NSString *)key; | |
- (NSData *)AES256DecryptWithKey:(NSString *)key; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment