Skip to content

Commit 5b7836b

Browse files
author
Fabio Tacke
authored
Update README.md
1 parent 1e9e8b4 commit 5b7836b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@
33
HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in <a href="https://tools.ietf.org/html/rfc5869">RFC 5869</a>.
44
The HMAC is provided by libsodium which uses the HMAC-SHA-512/256 algorithm.
55

6+
## Installation
7+
8+
### Jitpack
9+
To integrate the library via jitpack add the jitpack repository to your root `build.gradle` file:
10+
11+
```
12+
allprojects {
13+
repositories {
14+
...
15+
maven { url 'https://jitpack.io' }
16+
}
17+
}
18+
```
19+
20+
You can then add the dependency to your app's `build.gradle` file where `$VERSION` specifies the specific version of the library:
21+
22+
```
23+
dependencies {
24+
implementation 'com.github.TICESoftware:AndroidHKDF:$VERSION'
25+
}
26+
```
27+
628
## Usage
729
For deriving a new key of length 32 bytes from some input keying material `ikm`:
830

0 commit comments

Comments
 (0)