[BREAKGLASS] Append-only mirror of github.com/signalapp/HKDFKit
Go to file
2019-09-23 16:51:42 -07:00
HKDFKit gitignore xcuserdata 2018-10-30 11:14:18 -06:00
.clang-format Clean up formatting. 2018-07-27 12:37:23 -04:00
.gitignore gitignore xcuserdata 2018-10-30 11:14:18 -06:00
HKDFKit.podspec Update deployment target to iOS 10 2019-09-23 10:52:34 -07:00
LICENSE Initial commit 2014-03-29 15:43:53 -07:00
README.md Update README.md 2014-07-23 19:39:33 -10:00

HKDFKit

Simple HKDF utility with Objective-C interface

Usage

RFC5869-compliant key derivation function.

NSData *derivedData = [HKDFKit deriveKey:aSeed info:anInfo salt:aSalt outputSize:anOutputSize];

TextSecure v2 protocol uses different bounds for the HKDF function.

NSData *derivedData = [TextSecureV2deriveKey:aSeed info:anInfo salt:aSalt outputSize:anOutputSize];

Documentation

API reference is available on CocoaDocs.

Installation

Add this line to your Podfile

pod 'HKDFKit', '~> version number'

License

Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html