Class Blake2b.Param
- java.lang.Object
-
- net.sourceforge.plantuml.argon2.blake2.Blake2b.Param
-
- All Implemented Interfaces:
AlgorithmParameterSpec
- Enclosing interface:
- Blake2b
public static class Blake2b.Param extends Object implements AlgorithmParameterSpec
Blake2b configuration parameters block per spec
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Blake2b.Param.Default
-
Constructor Summary
Constructors Constructor Description Param()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blake2b.Param
clone()
byte[]
getBytes()
package only - copy returned - do not use in functional loopsint
getDepth()
int
getDigestLength()
int
getFanout()
int
getInnerLength()
int
getKeyLength()
int
getLeafLength()
int
getNodeDepth()
long
getNodeOffset()
boolean
hasKey()
long[]
initialized_H()
Blake2b.Param
setDepth(int depth)
Blake2b.Param
setDigestLength(int len)
Blake2b.Param
setFanout(int fanout)
Blake2b.Param
setInnerLength(int inner_length)
Blake2b.Param
setKey(byte[] key)
Blake2b.Param
setKey(Key key)
Blake2b.Param
setLeafLength(int leaf_length)
Blake2b.Param
setNodeDepth(int node_depth)
Blake2b.Param
setNodeOffset(long node_offset)
Blake2b.Param
setPersonal(byte[] personal)
Blake2b.Param
setSalt(byte[] salt)
-
-
-
Method Detail
-
initialized_H
public long[] initialized_H()
-
getBytes
public byte[] getBytes()
package only - copy returned - do not use in functional loops
-
getDigestLength
public final int getDigestLength()
-
setDigestLength
public final Blake2b.Param setDigestLength(int len)
-
getKeyLength
public final int getKeyLength()
-
getFanout
public final int getFanout()
-
setFanout
public final Blake2b.Param setFanout(int fanout)
-
getDepth
public final int getDepth()
-
setDepth
public final Blake2b.Param setDepth(int depth)
-
getLeafLength
public final int getLeafLength()
-
setLeafLength
public final Blake2b.Param setLeafLength(int leaf_length)
-
getNodeOffset
public final long getNodeOffset()
-
setNodeOffset
public final Blake2b.Param setNodeOffset(long node_offset)
-
getNodeDepth
public final int getNodeDepth()
-
setNodeDepth
public final Blake2b.Param setNodeDepth(int node_depth)
-
getInnerLength
public final int getInnerLength()
-
setInnerLength
public final Blake2b.Param setInnerLength(int inner_length)
-
hasKey
public final boolean hasKey()
-
clone
public Blake2b.Param clone()
-
setKey
public final Blake2b.Param setKey(Key key)
-
setKey
public final Blake2b.Param setKey(byte[] key)
-
setSalt
public final Blake2b.Param setSalt(byte[] salt)
-
setPersonal
public final Blake2b.Param setPersonal(byte[] personal)
-
-