AESCrypt-ObjC
AESCrypt-ObjC copied to clipboard
Definition of 'NSData' must be imported from module 'Foundation.NSData' before it is required
I got this error message
/Users/MNurdin/Documents/iOS/RevivalxSwiftAESCrypt/RevivalxSwiftAESCrypt/AESCrypt/NSString+Base64.m:28:14: Definition of 'NSData' must be imported from module 'Foundation.NSData' before it is required
Code
lentext = [data length];
Please advice. Thank you.
Please check my pull request. https://github.com/Gurpartap/AESCrypt-ObjC/pull/13
^ Yeah, please add that
guys just change the header file NSString+Base64.h
change from
#import <Foundation/NSString.h >
to
#import <Foundation/Foundation.h>
then everything works like a charm.
yes it work
correct
I want to decrypt text by openssl. Please help me.
I am using the following command but could not able to decrypt it: $ openssl enc -d -aes256 -in text.txt -out decrypt.txt
It is working fine on IOS end but not working with openssl.