Package net.sourceforge.plantuml.argon2
Class Argon2
java.lang.Object
net.sourceforge.plantuml.argon2.Argon2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
byte[]
int
int
int
getLanes()
int
byte[]
int
byte[]
int
byte[]
getSalt()
int
byte[]
int
getType()
int
void
hashNow()
boolean
setAdditional
(byte[] additional) void
setClearMemory
(boolean clearMemory) void
setEncodedOnly
(boolean encodedOnly) setIterations
(int iterations) setMemory
(int memory) setMemoryInKiB
(int memory) void
setOutput
(byte[] finalResult) setOutputLength
(int outputLength) setParallelism
(int parallelism) setPassword
(byte[] password) setPassword
(char[] password) void
setRawOnly
(boolean rawOnly) setSalt
(byte[] salt) setSecret
(byte[] secret) setType
(Argon2Type type) setVersion
(int version)
-
Method Details
-
hashNow
public void hashNow() -
clear
public void clear() -
setMemoryInKiB
-
setParallelism
-
setPassword
-
setSalt
-
getOutput
public byte[] getOutput() -
setOutput
public void setOutput(byte[] finalResult) -
getOutputString
-
getOutputLength
public int getOutputLength() -
setOutputLength
-
getPassword
public byte[] getPassword() -
setPassword
-
getPasswordLength
public int getPasswordLength() -
getSalt
public byte[] getSalt() -
setSalt
-
getSaltLength
public int getSaltLength() -
getSecret
public byte[] getSecret() -
setSecret
-
getSecretLength
public int getSecretLength() -
getAdditional
public byte[] getAdditional() -
setAdditional
-
getAdditionalLength
public int getAdditionalLength() -
getIterations
public int getIterations() -
setIterations
-
getMemory
public int getMemory() -
setMemory
-
getLanes
public int getLanes() -
getVersion
public int getVersion() -
setVersion
-
getType
-
setType
-
isClearMemory
public boolean isClearMemory() -
setClearMemory
public void setClearMemory(boolean clearMemory) -
getCharset
-
setEncodedOnly
public void setEncodedOnly(boolean encodedOnly) -
setRawOnly
public void setRawOnly(boolean rawOnly) -
getEncoded
-