Latest 0.1.0
Homepage https://github.com/reza-khalafi/mytest1
License MIT
Platforms ios 8.0
Authors

LaraCrypt 0.1.x

Version
License
Platform
Language
OS Version

This is a function for encrypt data such as Laravel encryption in Swift.

Requirements

  • iOS 8.0+
  • Objective C (LaraCryptObjectiveC 0.1.x)

Installation

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

pod 'LaraCryptObjectiveC'

Usage

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

Support

Fardad Co

License

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

Latest podspec

{
    "name": "mytest1",
    "version": "0.1.0",
    "summary": "Laravel encryption method for Objective C.",
    "description": "Laravel encryption method with using AES-256-CBC and base64 key for Objective C.",
    "homepage": "https://github.com/reza-khalafi/mytest1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "reza-khalafi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/reza-khalafi/mytest1.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "social_media_url": "https://twitter.com/fardadco",
    "source_files": "mytest1/Classes/**/*"
}

Pin It on Pinterest

Share This