| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public int |
| blockSize | back to summary |
|---|---|
| private final int blockSize | |
| costParameter | back to summary |
|---|---|
| private final int costParameter | |
| parallelizationParameter | back to summary |
|---|---|
| private final int parallelizationParameter | |
| saltLength | back to summary |
|---|---|
| private final int saltLength | |
| ScryptConfig | back to summary |
|---|---|
| private ScryptConfig(ScryptConfig. | |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() | |
| getCostParameter | back to summary |
|---|---|
| public int getCostParameter() | |
| getParallelizationParameter | back to summary |
|---|---|
| public int getParallelizationParameter() | |
| getSaltLength | back to summary |
|---|---|
| public int getSaltLength() | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | Builder(int
cost parameter (must be a power of 2) costParameter, int block size blockSize, int parallelization parameter parallelizationParameter)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public ScryptConfig | |
| private static boolean | |
| public ScryptConfig. | Returns: the current builder.the length of the salt (in octets) to use. saltLength)Set the length of the salt to use. |
| blockSize | back to summary |
|---|---|
| private final int blockSize | |
| costParameter | back to summary |
|---|---|
| private final int costParameter | |
| parallelizationParameter | back to summary |
|---|---|
| private final int parallelizationParameter | |
| saltLength | back to summary |
|---|---|
| private int saltLength | |
| Builder | back to summary |
|---|---|
| public Builder(int costParameter, int blockSize, int parallelizationParameter) Base constructor.
| |
| build | back to summary |
|---|---|
| public ScryptConfig build() | |
| isPowerOf2 | back to summary |
|---|---|
| private static boolean isPowerOf2(int x) | |
| withSaltLength | back to summary |
|---|---|
| public ScryptConfig. Set the length of the salt to use.
| |