java.security.spec.KeySpec
public class ScryptKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
Constructor | Description |
---|---|
ScryptKeySpec(char[] password,
byte[] salt,
int costParameter,
int blockSize,
int parallelizationParameter,
int keySize) |
Modifier and Type | Method | Description |
---|---|---|
int |
getBlockSize() |
|
int |
getCostParameter() |
|
int |
getKeyLength() |
Key length (in bits).
|
int |
getParallelizationParameter() |
|
char[] |
getPassword() |
|
byte[] |
getSalt() |
public ScryptKeySpec(char[] password, byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keySize)
public char[] getPassword()
public byte[] getSalt()
public int getCostParameter()
public int getBlockSize()
public int getParallelizationParameter()
public int getKeyLength()