Latest 0.1.0
Homepage https://github.com/daniochouno/Crypper-iOS
License MIT
Platforms ios 7.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Daniel Martínez/Crypper.svg?style=flat)](https://travis-ci.org/Daniel Martínez/Crypper)
Version
License
Platform

Usage

First, you can generate a RSA key pair using:

// Generate an array with Public and Private keys of 2048 bits.
NSArray *keys = [[RSAWrapper sharedInstance] generate:2048];  

Now you can encypt a message:

NSString *encrypted = [[RSAWrapper sharedInstance] encrypt:@"HelloCrypper" withPublicKeyAsBase64:[keys objectAtIndex:0]];

and decrypt:

NSString *message = [[RSAWrapper sharedInstance] decrypt:encrypted withPrivateKeyAsBase64:[keys objectAtIndex:1]];

Installation

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

pod "Crypper"

Author

Daniel Martínez, @dmartinezinfo, [email protected]

License

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

Latest podspec

{
    "name": "Crypper",
    "version": "0.1.0",
    "summary": "A crypto wrapper for iOS projects.",
    "homepage": "https://github.com/daniochouno/Crypper-iOS",
    "license": "MIT",
    "authors": {
        "Daniel Martinez": "[email protected]"
    },
    "source": {
        "git": "https://github.com/daniochouno/Crypper-iOS.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/dmartinezinfo",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*.{h,m}",
    "resource_bundles": {
        "Crypper": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This