public final class KeyDerivationFunction
extends java.lang.Object
This class provides functionality to derive AES-128 keys.
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyDerivationFunction.Mode |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getAES128Key(byte[] sharedSecretK,
KeyDerivationFunction.Mode mode)
derive AES-128 key
|
public static byte[] getAES128Key(byte[] sharedSecretK,
KeyDerivationFunction.Mode mode)
derive AES-128 key
sharedSecretK - byte array with shared secret value.mode - key derivation for ENC, MAC or derivation from password