Package net.sourceforge.plantuml.argon2
Class Argon2
java.lang.Object
net.sourceforge.plantuml.argon2.Argon2
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()byte[]intintintgetLanes()intbyte[]intbyte[]intbyte[]getSalt()intbyte[]intgetType()intvoidhashNow()booleansetAdditional(byte[] additional) voidsetClearMemory(boolean clearMemory) voidsetEncodedOnly(boolean encodedOnly) setIterations(int iterations) setMemory(int memory) setMemoryInKiB(int memory) voidsetOutput(byte[] finalResult) setOutputLength(int outputLength) setParallelism(int parallelism) setPassword(byte[] password) setPassword(char[] password) voidsetRawOnly(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
-