Object-c NSData & NSString encryptation for iOS & Mac. EncryptLib supports CRC 32, MD5, BASE 64, SHA-1, SHA-256 and SHA-512.
To run the example project, clone the repo, and run pod install
from the Example directory first. And than see the Tests.m file.
EncryptLib is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'EncryptLib'
And then run:
pod install
After installing the cocoapod into your project import EncryptLib with Objective C
#import <EncryptLib/EncryptLib.h>.
And then
NSString * str1 = @"123456";
NSString * crcText = [str1 crc32];
sdfwds4, sdfwds4@163.com
EncryptLib is available under the MIT license. See the LICENSE file for more info.