Reputation: 5438
Where is kCCKeySizeAES128? kCCEncrypt?
I found "Common Crypto Framework" by searching kCCKeySizeAES128, in iOS dev. lib..
But my MacBook does not have "Common Crypto Framework".
Help me... I need to use kCCKeySizeAES128 and kCCEncrypt.
Upvotes: 1
Views: 2619
Reputation: 33
More precisely, it's defined in CommonCryptor.h. You should #import <CommonCrypto/CommonCryptor.h>
Upvotes: 0
Reputation: 301
Common Crypto is not its own framework. It's built into libSystem. The headers you need are in /usr/include/CommonCrypto, which you can import by doing
#import <CommonCrypto/~~~.h>
Upvotes: 1
Reputation: 5438
#import <CommonCrypto/~~~.h>
Just Import framework.
Adding framework does not needed.
Upvotes: 3