| Modifier and Type | Class and Description |
|---|---|
static class |
HkdfMacFactory.Default
Default implementation
|
| Modifier and Type | Method and Description |
|---|---|
static HkdfMacFactory |
HkdfMacFactory.Default.hmacSha1()
Deprecated.
sha1 with HMAC should be fine, but not recommended for new protocols; see https://crypto.stackexchange.com/questions/26510/why-is-hmac-sha1-still-considered-secure
|
static HkdfMacFactory |
HkdfMacFactory.Default.hmacSha256()
Creates a factory creating HMAC with SHA-256
|
static HkdfMacFactory |
HkdfMacFactory.Default.hmacSha512()
Creates a factory creating HMAC with SHA-512
|
| Modifier and Type | Method and Description |
|---|---|
static HKDF |
HKDF.from(HkdfMacFactory macFactory)
Create a new HKDF instance for given macFactory.
|
Copyright © 2017–2018. All rights reserved.