| Package | Description |
|---|---|
| org.kocakosm.pitaya.security |
| Modifier and Type | Field and Description |
|---|---|
static Algorithm<MAC> |
Algorithm.HMAC_KECCAK224
The HMAC-Keccak-224 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_KECCAK256
The HMAC-Keccak-256 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_KECCAK384
The HMAC-Keccak-384 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_KECCAK512
The HMAC-Keccak-512 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_MD2
The HMAC-MD2 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_MD4
The HMAC-MD4 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_MD5
The HMAC-MD5 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_SHA1
The HMAC-SHA1 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_SHA256
The HMAC-SHA-256 MAC algorithm.
|
static Algorithm<MAC> |
Algorithm.HMAC_SHA512
The HMAC-SHA-512 MAC algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
static MAC |
HMAC.keccak224(byte... key)
Returns a new Keccak-224 HMAC engine.
|
static MAC |
HMAC.keccak256(byte... key)
Returns a new Keccak-256 HMAC engine.
|
static MAC |
HMAC.keccak384(byte... key)
Returns a new Keccak-384 HMAC engine.
|
static MAC |
HMAC.keccak512(byte... key)
Returns a new Keccak-512 HMAC engine.
|
static MAC |
HMAC.md2(byte... key)
Returns a new MD2 HMAC engine.
|
static MAC |
HMAC.md4(byte... key)
Returns a new MD4 HMAC engine.
|
static MAC |
HMAC.md5(byte... key)
Returns a new MD5 HMAC engine.
|
MAC |
MAC.reset()
Resets the engine.
|
static MAC |
HMAC.sha1(byte... key)
Returns a new SHA1 HMAC engine.
|
static MAC |
HMAC.sha256(byte... key)
Returns a new SHA-256 HMAC engine.
|
static MAC |
HMAC.sha512(byte... key)
Returns a new SHA-512 HMAC engine.
|
MAC |
MAC.update(byte... input)
Updates the MAC using the specified array of bytes.
|
MAC |
MAC.update(byte input)
Updates the MAC using the given byte.
|
MAC |
MAC.update(byte[] input,
int off,
int len)
Updates the MAC using the specified number of bytes from the given
array of bytes, starting at the specified offset.
|
| Modifier and Type | Method and Description |
|---|---|
static KDF |
KDFs.hkdf(Algorithm<MAC> mac,
byte[] info,
int dkLen)
Creates and returns a new immutable
KDF instance implementing
the HKDF algorithm (RFC 5869). |
static KDF |
KDFs.pbkdf2(Algorithm<MAC> mac,
int iterationCount,
int dkLen)
Creates and returns a new immutable
KDF instance implementing
the PBKDF2 algorithm (RFC 2898). |
Copyright © 2012–2015. All rights reserved.