public static final class FipsSHS.ParallelHashParameters extends FipsSHS.Parameters
Modifier and Type | Method and Description |
---|---|
byte[] |
getCustomizationString()
Return the customization string for this parameter set.
|
int |
getDigestSizeInBits()
Return the hash size for this parameter set.
|
FipsSHS.ParallelHashParameters |
withBlockLength(int blockLengthInBytes)
Return a new set of parameters specifying a specific block size for chunking.
|
FipsSHS.ParallelHashParameters |
withCustomizationString(byte[] customizationString)
Return a new set of parameters specifying a specific customization string.
|
FipsSHS.ParallelHashParameters |
withDigestSize(int digestSizeinBits)
Return a new set of parameters specifying a specific hash size.
|
getAlgorithm
public int getDigestSizeInBits()
public byte[] getCustomizationString()
public FipsSHS.ParallelHashParameters withCustomizationString(byte[] customizationString)
customizationString
- the function name bit string (S).public FipsSHS.ParallelHashParameters withDigestSize(int digestSizeinBits)
digestSizeinBits
- bit length of the hash length.public FipsSHS.ParallelHashParameters withBlockLength(int blockLengthInBytes)
blockLengthInBytes
- byte length of the chunking block.