|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.util.ScryptConfig.Builder
Constructor Summary | |
ScryptConfig.Builder(int costParameter,
int blockSize,
int parallelizationParameter)
Base constructor. |
Method Summary | |
ScryptConfig |
build()
|
ScryptConfig.Builder |
withSaltLength(int saltLength)
Set the length of the salt to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScryptConfig.Builder(int costParameter, int blockSize, int parallelizationParameter)
costParameter
- cost parameter (must be a power of 2)blockSize
- block sizeparallelizationParameter
- parallelization parameterMethod Detail |
public ScryptConfig.Builder withSaltLength(int saltLength)
saltLength
- the length of the salt (in octets) to use.public ScryptConfig build()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |