public final class FastKeyStretcher extends java.lang.Object implements KeyStretchingFunction
| Constructor and Description |
|---|
FastKeyStretcher() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
stretch(byte[] salt,
char[] password,
int outLengthByte)
Derives and stretches the given password with given salt to desired out length.
|
public byte[] stretch(byte[] salt,
char[] password,
int outLengthByte)
KeyStretchingFunctionstretch in interface KeyStretchingFunctionsalt - to use when deriving/stretching the passwordpassword - to stretchoutLengthByte - required out length byte