Class Blake2b.Param
- java.lang.Object
-
- net.sourceforge.plantuml.argon2.blake2.Blake2b.Param
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
- Enclosing interface:
- Blake2b
public static class Blake2b.Param extends java.lang.Object implements java.security.spec.AlgorithmParameterSpecBlake2b configuration parameters block per spec
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBlake2b.Param.Default
-
Constructor Summary
Constructors Constructor Description Param()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blake2b.Paramclone()byte[]getBytes()package only - copy returned - do not use in functional loopsintgetDepth()intgetDigestLength()intgetFanout()intgetInnerLength()intgetKeyLength()intgetLeafLength()intgetNodeDepth()longgetNodeOffset()booleanhasKey()long[]initialized_H()Blake2b.ParamsetDepth(int depth)Blake2b.ParamsetDigestLength(int len)Blake2b.ParamsetFanout(int fanout)Blake2b.ParamsetInnerLength(int inner_length)Blake2b.ParamsetKey(byte[] key)Blake2b.ParamsetKey(java.security.Key key)Blake2b.ParamsetLeafLength(int leaf_length)Blake2b.ParamsetNodeDepth(int node_depth)Blake2b.ParamsetNodeOffset(long node_offset)Blake2b.ParamsetPersonal(byte[] personal)Blake2b.ParamsetSalt(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()
- Overrides:
clonein classjava.lang.Object
-
setKey
public final Blake2b.Param setKey(java.security.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)
-
-