CSHAKE256
Creates a new CSHAKE256 instance with a default output length of 64 bytes.
Parameters
A function-name bit string, used by NIST to define functions based on CSHAKE. Usage should be avoided when not required.
A user selected customization bit string to define a variant of the function. When no customization is desired, S is set to an empty or null value. (e.g. "My Customization".encodeToByteArray())
Creates a new CSHAKE256 instance with a non-default output length.
Parameters
A function-name bit string, used by NIST to define functions based on CSHAKE. Usage should be avoided when not required.
A user selected customization bit string to define a variant of the function. When no customization is desired, S is set to an empty or null value. (e.g. "My Customization".encodeToByteArray())
The number of bytes returned when digest is invoked
Throws
If outputLength is negative