CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✓ |
Maintained by Chris Amanse.
A Swift framework containing implementations of cryptographic functions.
Try CryptoKit API right now in IBM Swift Sandbox.
let message = "The quick brown fox jumps over the lazy dog".data(using: .utf8)!
let hash = message.digest(using: .sha256) // Supports MD5, SHA-1 and SHA-2 variants
let hmac = HMAC(key: secret, message: message, hashFunction: .sha1)
Copyright © 2016 Joe Christopher Paul Amanse
This software is distributed under the MIT License.