fileData = [RNDecryptor decryptData:[NSData dataWithContentsOfFile:path] withPassword:aPassword error:&error];
or
fileData = [RNDecryptor decryptData:[NSData dataWithContentsOfFile:path] withSettings:kRNCryptorAES256Settings password:aPassword error:&error];
(correct password is in aPassword, correct paths are set etc). returns Error Domain=net.robnapier.RNCryptManager Code=2 "Unknown header"
We have looked at RNOpenSSLCryptor but this doesn't compile - again I understand it is 'not recommended and no longer supported', but does anyone have suggestions on getting it working? Does it need to be integrated with an existing RNCryptor?
Thanks
Lisa
--
You received this message because you are subscribed to the Google Groups "rncryptor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rncryptor+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/rncryptor.
For more options, visit https://groups.google.com/d/optout.