public class MyKDF
extends java.lang.Object
Constructor and Description |
---|
MyKDF() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateBytes(byte[] secret,
byte[] salt,
byte[] info,
int len)
Generates a derived key out of the provided secret and some auxiliary information (salt, info).
|
public byte[] generateBytes(byte[] secret, byte[] salt, byte[] info, int len)
secret
- the secret from which the key material should be derivedsalt
- an additional salt (may be null)info
- some additional info (may be null)len
- the number of bytes to be derivedCopyright © 2023. All rights reserved.