Class FipsSHS.TupleHashParameters

All Implemented Interfaces:
Parameters
Enclosing class:
FipsSHS

public static final class FipsSHS.TupleHashParameters extends FipsSHS.Parameters
Customizable TupleHash parameters.
  • Method Details

    • getDigestSizeInBits

      public int getDigestSizeInBits()
      Return the hash size for this parameter set.
      Returns:
      the hash size in bits.
    • getCustomizationString

      public byte[] getCustomizationString()
      Return the customization string for this parameter set.
      Returns:
      the customization string.
    • withCustomizationString

      public FipsSHS.TupleHashParameters withCustomizationString(byte[] customizationString)
      Return a new set of parameters specifying a specific customization string.
      Parameters:
      customizationString - the function name bit string (S).
      Returns:
      a new set of TupleHashParameters including the S value.
    • withDigestSize

      public FipsSHS.TupleHashParameters withDigestSize(int digestSizeinBits)
      Return a new set of parameters specifying a specific hash size.
      Parameters:
      digestSizeinBits - bit length of the hash length.
      Returns:
      a new set of TupleHashParameters for the hash size.