Package org.bouncycastle.crypto.params
Class Argon2Parameters.Builder
java.lang.Object
org.bouncycastle.crypto.params.Argon2Parameters.Builder
- Enclosing class:
Argon2Parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
clear()
withAdditional
(byte[] additional) withCharToByteConverter
(CharToByteConverter converter) withIterations
(int iterations) withMemoryAsKB
(int memory) withMemoryPowOfTwo
(int memory) withParallelism
(int parallelism) withSalt
(byte[] salt) withSecret
(byte[] secret) withVersion
(int version)
-
Constructor Details
-
Builder
public Builder() -
Builder
public Builder(int type)
-
-
Method Details
-
withParallelism
-
withSalt
-
withSecret
-
withAdditional
-
withIterations
-
withMemoryAsKB
-
withMemoryPowOfTwo
-
withVersion
-
withCharToByteConverter
-
build
-
clear
public void clear()
-