T
- the type of the parameters used to initialise the calculator.public interface KDFCalculator<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
void |
generateBytes(byte[] out)
Generate out worth of bytes into the out array.
|
void |
generateBytes(byte[] out,
int outOff,
int len)
Generate len worth of bytes and place them in out starting at
the offset outOff.
|
T |
getParameters()
Return the parameters for this KDF calculator.
|
T getParameters()
void generateBytes(byte[] out)
out
- the target array for the bytes generated.void generateBytes(byte[] out, int outOff, int len)
out
- the target array for the bytes generated.outOff
- the offset to start writing the generated bytes at.len
- the number of bytes to generate.