CommonCrypto Swift module
Clone or download
soffes Merge pull request #7 from gui-assis/fix-path-to-lib
Change path to CommonCrypto in modulemap files
Latest commit e3d71cd Mar 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CommonCrypto.xcodeproj Change modulemap's path to lib CommonCrypto Dec 11, 2017
CommonCrypto Change modulemap's path to lib CommonCrypto Dec 11, 2017
LICENSE Initial commit Jul 22, 2016
Readme.markdown Update readme Oct 28, 2016

Readme.markdown

CommonCrypto

Version Carthage compatible

Simple CommonCrypto wrapper for Swift for macOS, iOS, watchOS, and tvOS with Carthage support. For additional crypto helpers, see Crypto.

Released under the MIT license. Enjoy.

Installation

Carthage is the recommended way to install Crypto. Add the following to your Cartfile:

github "soffes/CommonCrypto"

Usage

You can't directly use CommonCrypto in Swift since Apple doesn't define a module for it. This library includes frameworks for each platform that wraps the C library. This makes importing it into Swift as simple as

import CommonCrypto

Enjoy.