An open API service indexing awesome lists of open source software.

https://github.com/yourtion/yxcryp-oc


https://github.com/yourtion/yxcryp-oc

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# YXCryp

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Version](https://img.shields.io/cocoapods/v/YXCryp.svg?style=flat)](http://cocoapods.org/pods/YXCryp)
[![License](https://img.shields.io/cocoapods/l/YXCryp.svg?style=flat)](http://cocoapods.org/pods/YXCryp)
[![Platform](https://img.shields.io/cocoapods/p/YXCryp.svg?style=flat)](http://cocoapods.org/pods/YXCryp)
[![Build Status](https://travis-ci.org/yourtion/YXCryp-OC.svg?branch=master)](https://travis-ci.org/yourtion/YXCryp-OC)

Objdctive-C 实现常用加解密功能库。

- `AES256` 加密解密
- `SHA256`、`SHA1` 哈希计算
- `HEX` 转换
- `Base64` 编码解码

## 安装

### CocoaPod

在 `Podfile` 中添加:

```
platform :ios, '8.0'

pod 'YXCryp'
```

### Carthage

```
github "yourtion/YXCryp-OC"
```

## 使用方法

参考 Test 文件:[YXCrypTests.m](YXCrypTests/YXCrypTests.m)