/EncryptLib

Object-c NSData & NSString encryptation for iOS, Mac. CRC32, MD5, BASE 64, SHA-1, SHA-256, SHA-512.

Primary LanguageObjective-CMIT LicenseMIT

EncryptLib

CI Status Version License Platform

Object-c NSData & NSString encryptation for iOS & Mac. EncryptLib supports CRC 32, MD5, BASE 64, SHA-1, SHA-256 and SHA-512.

Example

To run the example project, clone the repo, and run pod install from the Example directory first. And than see the Tests.m file.

Requirements

Installation

EncryptLib is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'EncryptLib'

And then run:

pod install

Usage

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];

Author

sdfwds4, sdfwds4@163.com

License

EncryptLib is available under the MIT license. See the LICENSE file for more info.