Class FipsSHS.CSHAKEParameters

  • All Implemented Interfaces:
    Parameters
    Enclosing class:
    FipsSHS

    public static final class FipsSHS.CSHAKEParameters
    extends FipsSHS.Parameters
    Customizable SHAKE (cSHAKE) parameters.
    • Method Detail

      • withFunctionName

        public FipsSHS.CSHAKEParameters withFunctionName​(byte[] functionName)
        Return a new set of parameters specifying a specific function name bit string. Note: this parameter is reserved for use by NIST, it is best not to use it unless a standard value is available.
        Parameters:
        functionName - the function name bit string (N).
        Returns:
        a new set of CSHAKEParameters including the N value.
      • withCustomizationString

        public FipsSHS.CSHAKEParameters 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 CSHAKEParameters including the S value.