public interface KeyStretchingFunction
This function should implement a key derivation function with a parametrized key stretching feature.
Examples of such algorithms are:
| 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.
|
byte[] stretch(byte[] salt,
char[] password,
int outLengthByte)
salt - to use when deriving/stretching the passwordpassword - to stretchoutLengthByte - required out length byte