Skip to content
This repository was archived by the owner on Jan 9, 2018. It is now read-only.

Conversation

unixmonkey
Copy link

Hey, thanks for this project. It came in handy for me today.

I'm using it to encrypt/decrypt some binary data, rather than strings, so these extensions are exactly what I needed. I figure they may help others, too.

Usage:

NSData *plainData = [NSData dataWithContentsOfFile:someBinaryFile];
NSString *password = @"p4ssw0rd";
NSData *encryptedData = [AESCrypt encryptData:plainData password:password];
NSData *decryptedData = [AESCrypt decryptData:encryptedData password:password];

If there's anything I can do to make this better, please let me know!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant