FredericJacobs / HKDFKit

Simple HKDF utility with Objective-C interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple HKDF utility with Objective-C interface

License:GNU General Public License v2.0


Languages

Language:Objective-C 88.7%Language:Ruby 11.3%