Package org.conscrypt
Class ScryptKeySpec
java.lang.Object
org.conscrypt.ScryptKeySpec
- All Implemented Interfaces:
KeySpec
Mirrors the class
of the same name from BouncyCastle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intprivate final intprivate final char[]private final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionScryptKeySpec(char[] password, byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keyOutputBits) -
Method Summary
-
Field Details
-
password
private final char[] password -
salt
private final byte[] salt -
costParameter
private final int costParameter -
blockSize
private final int blockSize -
parallelizationParameter
private final int parallelizationParameter -
keyOutputBits
private final int keyOutputBits
-
-
Constructor Details
-
ScryptKeySpec
public ScryptKeySpec(char[] password, byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keyOutputBits)
-
-
Method Details
-
getPassword
public char[] getPassword() -
getSalt
public byte[] getSalt() -
getCostParameter
public int getCostParameter() -
getBlockSize
public int getBlockSize() -
getParallelizationParameter
public int getParallelizationParameter() -
getKeyLength
public int getKeyLength()
-