CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2017 |
Maintained by Fardad Co.
This is a function for encrypt data such as Laravel encryption in Swift.
LaraCryptObjectiveC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LaraCryptObjectiveC'
There is a main public function in LaraCrypt calss:
encrypt
- For use this fucntion you should set two parameters contain base64 key with 44 characters length and your message as a string that you want to be encrypted
#import "LaraCrypt.h"
NSString *key = @"u6KuXJLIUwEUl7noY8J8H1ffDRwLC/5gjaWW1qTQ3hE=";
NSString *message = @"123456";
NSString *encryptedString = [[LaraCrypt laravelCrypt]laraEncWithMessage:message andKey:key];
LaraCrypt is available under the MIT license. See the LICENSE file for more info.