public interface KeyDerivationFunction
| Modifier and Type | Method and Description |
|---|---|
byte[] |
engineGenerateKey(byte[] secret)
Derives the symmetric key from a shared secret and returns it.
|
byte[] |
engineGenerateKey(byte[] secret,
int keyLength)
Derives the symmetric key from a shared secret and returns it.
|
void |
engineInit(KDFParameterSpec params)
Initializes this KDF.
|
void engineInit(KDFParameterSpec params)
params - the KDF parametersbyte[] engineGenerateKey(byte[] secret)
secret - the secret, from which the key is going to be derivedbyte[] engineGenerateKey(byte[] secret,
int keyLength)
secret - the secret, from which the key is going to be derivedkeyLength - the length of the key in bitsCopyright © 2011–2022 Stiftung SIC. All rights reserved.