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.
Carthage is the recommended way to install Crypto. Add the following to your Cartfile:
github "soffes/CommonCrypto"
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.